aq-fe-framework 0.1.68 → 0.1.70

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,3 +1,7 @@
1
+ import {
2
+ createGenericStore,
3
+ useS_Sidebar
4
+ } from "./chunk-AL73DX37.mjs";
1
5
  import {
2
6
  U0DateToDDMMYYYString,
3
7
  U0MyValidateEmail,
@@ -6,10 +10,6 @@ import {
6
10
  utils_notification_show,
7
11
  utils_pdf_download
8
12
  } from "./chunk-4MLNXP25.mjs";
9
- import {
10
- createGenericStore,
11
- useS_Sidebar
12
- } from "./chunk-AL73DX37.mjs";
13
13
  import {
14
14
  __objRest,
15
15
  __spreadProps,
@@ -6385,11 +6385,11 @@ function MyNumberFormatter(_a) {
6385
6385
  }
6386
6386
 
6387
6387
  // src/components/DataDisplay/ScheduleX/MyScheduleX.tsx
6388
- import "@schedule-x/theme-default/dist/index.css";
6389
- import { useNextCalendarApp as useNextCalendarApp2 } from "@schedule-x/react";
6388
+ import { useNextCalendarApp as useNextCalendarApp2, ScheduleXCalendar as ScheduleXCalendar2 } from "@schedule-x/react";
6390
6389
  import { createEventsServicePlugin as createEventsServicePlugin2 } from "@schedule-x/events-service";
6391
6390
  import { useState as useState7 } from "react";
6392
6391
  import { createEventModalPlugin as createEventModalPlugin2 } from "@schedule-x/event-modal";
6392
+ import { jsx as jsx42 } from "react/jsx-runtime";
6393
6393
  function MyScheduleX({
6394
6394
  values,
6395
6395
  timeGridEvent,
@@ -6414,15 +6414,24 @@ function MyScheduleX({
6414
6414
  events: values,
6415
6415
  plugins: [eventsService, eventModalPlugin]
6416
6416
  });
6417
- return "huhu";
6417
+ return /* @__PURE__ */ jsx42(
6418
+ ScheduleXCalendar2,
6419
+ {
6420
+ calendarApp: calendar,
6421
+ customComponents: {
6422
+ timeGridEvent,
6423
+ eventModal
6424
+ }
6425
+ }
6426
+ );
6418
6427
  }
6419
6428
 
6420
6429
  // src/components/DataDisplay/StatCard/AQStatCard1.tsx
6421
6430
  import { Box as Box2, Button as Button13, Flex as Flex3, Group as Group11, Paper as Paper5, Text as Text9 } from "@mantine/core";
6422
6431
  import { IconArrowDownRight, IconArrowUpRight } from "@tabler/icons-react";
6423
- import { Fragment as Fragment11, jsx as jsx42, jsxs as jsxs25 } from "react/jsx-runtime";
6432
+ import { Fragment as Fragment11, jsx as jsx43, jsxs as jsxs25 } from "react/jsx-runtime";
6424
6433
  function AQStatCard1({ title: title3, value, unit = "", description, icons, diff }) {
6425
- return /* @__PURE__ */ jsx42(Fragment11, { children: /* @__PURE__ */ jsxs25(
6434
+ return /* @__PURE__ */ jsx43(Fragment11, { children: /* @__PURE__ */ jsxs25(
6426
6435
  Paper5,
6427
6436
  {
6428
6437
  withBorder: true,
@@ -6431,7 +6440,7 @@ function AQStatCard1({ title: title3, value, unit = "", description, icons, diff
6431
6440
  children: [
6432
6441
  /* @__PURE__ */ jsxs25(Group11, { justify: "space-between", children: [
6433
6442
  /* @__PURE__ */ jsxs25(Flex3, { direction: "column", children: [
6434
- /* @__PURE__ */ jsx42(
6443
+ /* @__PURE__ */ jsx43(
6435
6444
  Text9,
6436
6445
  {
6437
6446
  tt: "uppercase",
@@ -6442,13 +6451,13 @@ function AQStatCard1({ title: title3, value, unit = "", description, icons, diff
6442
6451
  ),
6443
6452
  unit == "" ? /* @__PURE__ */ jsxs25(Text9, { size: "xs", style: { visibility: "hidden" }, children: [
6444
6453
  "\u0110\u01A1n v\u1ECB: ",
6445
- /* @__PURE__ */ jsx42("strong", { children: unit })
6454
+ /* @__PURE__ */ jsx43("strong", { children: unit })
6446
6455
  ] }) : /* @__PURE__ */ jsxs25(Text9, { size: "xs", children: [
6447
6456
  "\u0110\u01A1n v\u1ECB: ",
6448
- /* @__PURE__ */ jsx42("strong", { children: unit })
6457
+ /* @__PURE__ */ jsx43("strong", { children: unit })
6449
6458
  ] })
6450
6459
  ] }),
6451
- /* @__PURE__ */ jsx42(Box2, { children: icons })
6460
+ /* @__PURE__ */ jsx43(Box2, { children: icons })
6452
6461
  ] }),
6453
6462
  /* @__PURE__ */ jsxs25(
6454
6463
  Group11,
@@ -6457,7 +6466,7 @@ function AQStatCard1({ title: title3, value, unit = "", description, icons, diff
6457
6466
  align: "flex-end",
6458
6467
  gap: "xs",
6459
6468
  children: [
6460
- /* @__PURE__ */ jsx42(
6469
+ /* @__PURE__ */ jsx43(
6461
6470
  Text9,
6462
6471
  {
6463
6472
  fw: 700,
@@ -6477,7 +6486,7 @@ function AQStatCard1({ title: title3, value, unit = "", description, icons, diff
6477
6486
  diff,
6478
6487
  "%"
6479
6488
  ] }),
6480
- diff > 0 ? /* @__PURE__ */ jsx42(IconArrowUpRight, {}) : /* @__PURE__ */ jsx42(IconArrowDownRight, {})
6489
+ diff > 0 ? /* @__PURE__ */ jsx43(IconArrowUpRight, {}) : /* @__PURE__ */ jsx43(IconArrowDownRight, {})
6481
6490
  ]
6482
6491
  }
6483
6492
  )
@@ -6485,8 +6494,8 @@ function AQStatCard1({ title: title3, value, unit = "", description, icons, diff
6485
6494
  }
6486
6495
  ),
6487
6496
  /* @__PURE__ */ jsxs25(Group11, { justify: "space-between", children: [
6488
- /* @__PURE__ */ jsx42(Text9, { tt: "uppercase", fz: "xs", c: "dimmed", children: description }),
6489
- /* @__PURE__ */ jsx42(
6497
+ /* @__PURE__ */ jsx43(Text9, { tt: "uppercase", fz: "xs", c: "dimmed", children: description }),
6498
+ /* @__PURE__ */ jsx43(
6490
6499
  Button13,
6491
6500
  {
6492
6501
  variant: "light",
@@ -6503,15 +6512,15 @@ function AQStatCard1({ title: title3, value, unit = "", description, icons, diff
6503
6512
 
6504
6513
  // src/components/Inputs/DateInput/MyDateInput.tsx
6505
6514
  import { DateInput } from "@mantine/dates";
6506
- import { jsx as jsx43 } from "react/jsx-runtime";
6515
+ import { jsx as jsx44 } from "react/jsx-runtime";
6507
6516
  function MyDateInput(_a) {
6508
6517
  var _b = _a, { label } = _b, rest = __objRest(_b, ["label"]);
6509
- return /* @__PURE__ */ jsx43(DateInput, __spreadValues({ label, placeholder: label ? `Ch\u1ECDn ${label == null ? void 0 : label.toLowerCase()}` : "" }, rest));
6518
+ return /* @__PURE__ */ jsx44(DateInput, __spreadValues({ label, placeholder: label ? `Ch\u1ECDn ${label == null ? void 0 : label.toLowerCase()}` : "" }, rest));
6510
6519
  }
6511
6520
 
6512
6521
  // src/components/Inputs/Fieldset/MyFieldset.tsx
6513
6522
  import { Box as Box3, Fieldset as Fieldset4, Text as Text10 } from "@mantine/core";
6514
- import { jsx as jsx44 } from "react/jsx-runtime";
6523
+ import { jsx as jsx45 } from "react/jsx-runtime";
6515
6524
  function MyFieldset(_a) {
6516
6525
  var _b = _a, {
6517
6526
  children,
@@ -6520,17 +6529,17 @@ function MyFieldset(_a) {
6520
6529
  "children",
6521
6530
  "title"
6522
6531
  ]);
6523
- return /* @__PURE__ */ jsx44(
6532
+ return /* @__PURE__ */ jsx45(
6524
6533
  Fieldset4,
6525
6534
  __spreadProps(__spreadValues({}, rest), {
6526
- legend: /* @__PURE__ */ jsx44(
6535
+ legend: /* @__PURE__ */ jsx45(
6527
6536
  Box3,
6528
6537
  {
6529
6538
  bg: "blue.4",
6530
6539
  px: "xs",
6531
6540
  py: 2,
6532
6541
  style: { borderRadius: 4 },
6533
- children: /* @__PURE__ */ jsx44(Text10, { c: "white", fw: 500, children: title3 })
6542
+ children: /* @__PURE__ */ jsx45(Text10, { c: "white", fw: 500, children: title3 })
6534
6543
  }
6535
6544
  ),
6536
6545
  children
@@ -6540,26 +6549,26 @@ function MyFieldset(_a) {
6540
6549
 
6541
6550
  // src/components/Inputs/FileInput/MyFileInput.tsx
6542
6551
  import { FileInput as FileInput3 } from "@mantine/core";
6543
- import { jsx as jsx45 } from "react/jsx-runtime";
6552
+ import { jsx as jsx46 } from "react/jsx-runtime";
6544
6553
  function MyFileInput(_a) {
6545
6554
  var _b = _a, { label } = _b, rest = __objRest(_b, ["label"]);
6546
- return /* @__PURE__ */ jsx45(FileInput3, __spreadValues({ label, placeholder: label ? `Ch\u1ECDn ${label == null ? void 0 : label.toLowerCase()}` : "" }, rest));
6555
+ return /* @__PURE__ */ jsx46(FileInput3, __spreadValues({ label, placeholder: label ? `Ch\u1ECDn ${label == null ? void 0 : label.toLowerCase()}` : "" }, rest));
6547
6556
  }
6548
6557
 
6549
6558
  // src/components/Inputs/NumberInput/MyNumberInput.tsx
6550
6559
  import { NumberInput as NumberInput2 } from "@mantine/core";
6551
- import { jsx as jsx46 } from "react/jsx-runtime";
6560
+ import { jsx as jsx47 } from "react/jsx-runtime";
6552
6561
  function MyNumberInput(_a) {
6553
6562
  var _b = _a, { label } = _b, rest = __objRest(_b, ["label"]);
6554
- return /* @__PURE__ */ jsx46(NumberInput2, __spreadValues({ label, placeholder: label ? `Nh\u1EADp ${label == null ? void 0 : label.toLowerCase()}` : "" }, rest));
6563
+ return /* @__PURE__ */ jsx47(NumberInput2, __spreadValues({ label, placeholder: label ? `Nh\u1EADp ${label == null ? void 0 : label.toLowerCase()}` : "" }, rest));
6555
6564
  }
6556
6565
 
6557
6566
  // src/components/Inputs/TextArea/MyTextArea.tsx
6558
6567
  import { Textarea } from "@mantine/core";
6559
- import { jsx as jsx47 } from "react/jsx-runtime";
6568
+ import { jsx as jsx48 } from "react/jsx-runtime";
6560
6569
  function MyTextArea(_a) {
6561
6570
  var _b = _a, { label } = _b, rest = __objRest(_b, ["label"]);
6562
- return /* @__PURE__ */ jsx47(Textarea, __spreadValues({ label, placeholder: label ? `Nh\u1EADp ${label == null ? void 0 : label.toLowerCase()}` : "" }, rest));
6571
+ return /* @__PURE__ */ jsx48(Textarea, __spreadValues({ label, placeholder: label ? `Nh\u1EADp ${label == null ? void 0 : label.toLowerCase()}` : "" }, rest));
6563
6572
  }
6564
6573
 
6565
6574
  // src/components/Inputs/TextEditor/MyTextEditor.tsx
@@ -6575,7 +6584,7 @@ import Underline from "@tiptap/extension-underline";
6575
6584
  import { useEditor } from "@tiptap/react";
6576
6585
  import StarterKit from "@tiptap/starter-kit";
6577
6586
  import { useEffect as useEffect5, useState as useState8 } from "react";
6578
- import { jsx as jsx48, jsxs as jsxs26 } from "react/jsx-runtime";
6587
+ import { jsx as jsx49, jsxs as jsxs26 } from "react/jsx-runtime";
6579
6588
  function MyTextEditor(_a) {
6580
6589
  var _b = _a, {
6581
6590
  autoHiddenToolBar = false,
@@ -6677,43 +6686,43 @@ function MyTextEditor(_a) {
6677
6686
  editor.commands.setContent(value);
6678
6687
  }
6679
6688
  }, [value, editor]);
6680
- return /* @__PURE__ */ jsx48(Input.Wrapper, { label, flex: 1, error, withAsterisk, children: /* @__PURE__ */ jsxs26(RichTextEditor, { editor, style: { border: error && "1px solid #e03131" }, children: [
6689
+ return /* @__PURE__ */ jsx49(Input.Wrapper, { label, flex: 1, error, withAsterisk, children: /* @__PURE__ */ jsxs26(RichTextEditor, { editor, style: { border: error && "1px solid #e03131" }, children: [
6681
6690
  /* @__PURE__ */ jsxs26(RichTextEditor.Toolbar, { hidden: hiddenToolBar, sticky: true, stickyOffset: 60, children: [
6682
6691
  /* @__PURE__ */ jsxs26(RichTextEditor.ControlsGroup, { children: [
6683
- /* @__PURE__ */ jsx48(RichTextEditor.Bold, {}),
6684
- /* @__PURE__ */ jsx48(RichTextEditor.Italic, {}),
6685
- /* @__PURE__ */ jsx48(RichTextEditor.Underline, {}),
6686
- /* @__PURE__ */ jsx48(RichTextEditor.Strikethrough, {}),
6687
- /* @__PURE__ */ jsx48(RichTextEditor.ClearFormatting, {}),
6688
- /* @__PURE__ */ jsx48(RichTextEditor.Highlight, {}),
6689
- /* @__PURE__ */ jsx48(RichTextEditor.Code, {})
6692
+ /* @__PURE__ */ jsx49(RichTextEditor.Bold, {}),
6693
+ /* @__PURE__ */ jsx49(RichTextEditor.Italic, {}),
6694
+ /* @__PURE__ */ jsx49(RichTextEditor.Underline, {}),
6695
+ /* @__PURE__ */ jsx49(RichTextEditor.Strikethrough, {}),
6696
+ /* @__PURE__ */ jsx49(RichTextEditor.ClearFormatting, {}),
6697
+ /* @__PURE__ */ jsx49(RichTextEditor.Highlight, {}),
6698
+ /* @__PURE__ */ jsx49(RichTextEditor.Code, {})
6690
6699
  ] }),
6691
6700
  /* @__PURE__ */ jsxs26(RichTextEditor.ControlsGroup, { children: [
6692
- /* @__PURE__ */ jsx48(RichTextEditor.H1, {}),
6693
- /* @__PURE__ */ jsx48(RichTextEditor.H2, {}),
6694
- /* @__PURE__ */ jsx48(RichTextEditor.H3, {}),
6695
- /* @__PURE__ */ jsx48(RichTextEditor.H4, {})
6701
+ /* @__PURE__ */ jsx49(RichTextEditor.H1, {}),
6702
+ /* @__PURE__ */ jsx49(RichTextEditor.H2, {}),
6703
+ /* @__PURE__ */ jsx49(RichTextEditor.H3, {}),
6704
+ /* @__PURE__ */ jsx49(RichTextEditor.H4, {})
6696
6705
  ] }),
6697
6706
  /* @__PURE__ */ jsxs26(RichTextEditor.ControlsGroup, { children: [
6698
- /* @__PURE__ */ jsx48(RichTextEditor.Blockquote, {}),
6699
- /* @__PURE__ */ jsx48(RichTextEditor.Hr, {}),
6700
- /* @__PURE__ */ jsx48(RichTextEditor.BulletList, {}),
6701
- /* @__PURE__ */ jsx48(RichTextEditor.OrderedList, {}),
6702
- /* @__PURE__ */ jsx48(RichTextEditor.Subscript, {}),
6703
- /* @__PURE__ */ jsx48(RichTextEditor.Superscript, {})
6707
+ /* @__PURE__ */ jsx49(RichTextEditor.Blockquote, {}),
6708
+ /* @__PURE__ */ jsx49(RichTextEditor.Hr, {}),
6709
+ /* @__PURE__ */ jsx49(RichTextEditor.BulletList, {}),
6710
+ /* @__PURE__ */ jsx49(RichTextEditor.OrderedList, {}),
6711
+ /* @__PURE__ */ jsx49(RichTextEditor.Subscript, {}),
6712
+ /* @__PURE__ */ jsx49(RichTextEditor.Superscript, {})
6704
6713
  ] }),
6705
6714
  /* @__PURE__ */ jsxs26(RichTextEditor.ControlsGroup, { children: [
6706
- /* @__PURE__ */ jsx48(RichTextEditor.Link, {}),
6707
- /* @__PURE__ */ jsx48(RichTextEditor.Unlink, {})
6715
+ /* @__PURE__ */ jsx49(RichTextEditor.Link, {}),
6716
+ /* @__PURE__ */ jsx49(RichTextEditor.Unlink, {})
6708
6717
  ] }),
6709
6718
  /* @__PURE__ */ jsxs26(RichTextEditor.ControlsGroup, { children: [
6710
- /* @__PURE__ */ jsx48(RichTextEditor.AlignLeft, {}),
6711
- /* @__PURE__ */ jsx48(RichTextEditor.AlignCenter, {}),
6712
- /* @__PURE__ */ jsx48(RichTextEditor.AlignJustify, {}),
6713
- /* @__PURE__ */ jsx48(RichTextEditor.AlignRight, {})
6719
+ /* @__PURE__ */ jsx49(RichTextEditor.AlignLeft, {}),
6720
+ /* @__PURE__ */ jsx49(RichTextEditor.AlignCenter, {}),
6721
+ /* @__PURE__ */ jsx49(RichTextEditor.AlignJustify, {}),
6722
+ /* @__PURE__ */ jsx49(RichTextEditor.AlignRight, {})
6714
6723
  ] })
6715
6724
  ] }),
6716
- /* @__PURE__ */ jsx48(
6725
+ /* @__PURE__ */ jsx49(
6717
6726
  ScrollArea2.Autosize,
6718
6727
  {
6719
6728
  onMouseDown: () => {
@@ -6728,7 +6737,7 @@ function MyTextEditor(_a) {
6728
6737
  setHiddenToolBar(false);
6729
6738
  },
6730
6739
  style: { cursor: "text", maxHeight: "400px" },
6731
- children: /* @__PURE__ */ jsx48(RichTextEditor.Content, { mih: contentHeight })
6740
+ children: /* @__PURE__ */ jsx49(RichTextEditor.Content, { mih: contentHeight })
6732
6741
  }
6733
6742
  )
6734
6743
  ] }) });
@@ -6754,18 +6763,18 @@ import { spotlight as spotlight2 } from "@mantine/spotlight";
6754
6763
  import { IconLayoutSidebarLeftCollapse, IconLayoutSidebarLeftExpand, IconLibraryMinus, IconSearch as IconSearch2 } from "@tabler/icons-react";
6755
6764
  import Link3 from "next/link";
6756
6765
  import { usePathname as usePathname2 } from "next/navigation";
6757
- import { Fragment as Fragment12, jsx as jsx49, jsxs as jsxs27 } from "react/jsx-runtime";
6766
+ import { Fragment as Fragment12, jsx as jsx50, jsxs as jsxs27 } from "react/jsx-runtime";
6758
6767
  function getRightSection(status) {
6759
- if (status === "Prototype") return /* @__PURE__ */ jsx49(Badge2, { styles: { root: { cursor: "pointer" } }, radius: "xs", color: "pink", circle: true, children: "P" });
6760
- if (status === "New") return /* @__PURE__ */ jsx49(Badge2, { styles: { root: { cursor: "pointer" } }, radius: "xs", circle: true, children: "N" });
6761
- if (status === "Menu") return /* @__PURE__ */ jsx49(Badge2, { styles: { root: { cursor: "pointer" } }, radius: "xs", color: "gray", circle: true, children: "M" });
6762
- if (status === "Change") return /* @__PURE__ */ jsx49(Badge2, { styles: { root: { cursor: "pointer" } }, radius: "xs", color: "green", circle: true, children: "C" });
6768
+ if (status === "Prototype") return /* @__PURE__ */ jsx50(Badge2, { styles: { root: { cursor: "pointer" } }, radius: "xs", color: "pink", circle: true, children: "P" });
6769
+ if (status === "New") return /* @__PURE__ */ jsx50(Badge2, { styles: { root: { cursor: "pointer" } }, radius: "xs", circle: true, children: "N" });
6770
+ if (status === "Menu") return /* @__PURE__ */ jsx50(Badge2, { styles: { root: { cursor: "pointer" } }, radius: "xs", color: "gray", circle: true, children: "M" });
6771
+ if (status === "Change") return /* @__PURE__ */ jsx50(Badge2, { styles: { root: { cursor: "pointer" } }, radius: "xs", color: "green", circle: true, children: "C" });
6763
6772
  return null;
6764
6773
  }
6765
6774
  function RenderNavLinks({ items }) {
6766
6775
  const sidebarStore = useS_Sidebar();
6767
6776
  const pathName = usePathname2();
6768
- return /* @__PURE__ */ jsx49(Fragment12, { children: items.map((item, index) => /* @__PURE__ */ jsx49(
6777
+ return /* @__PURE__ */ jsx50(Fragment12, { children: items.map((item, index) => /* @__PURE__ */ jsx50(
6769
6778
  NavLink,
6770
6779
  {
6771
6780
  active: item.link === pathName.split("/")[2],
@@ -6782,7 +6791,7 @@ function RenderNavLinks({ items }) {
6782
6791
  sidebarStore.setProperty("title", item.label);
6783
6792
  }
6784
6793
  },
6785
- children: item.links && /* @__PURE__ */ jsx49(RenderNavLinks, { items: item.links })
6794
+ children: item.links && /* @__PURE__ */ jsx50(RenderNavLinks, { items: item.links })
6786
6795
  },
6787
6796
  index
6788
6797
  )) });
@@ -6851,16 +6860,16 @@ function BasicAppShell({ children, menu }) {
6851
6860
  padding: "md",
6852
6861
  children: [
6853
6862
  /* @__PURE__ */ jsxs27(AppShell.Header, { children: [
6854
- /* @__PURE__ */ jsx49(MyAppSpotlight, { menu }),
6863
+ /* @__PURE__ */ jsx50(MyAppSpotlight, { menu }),
6855
6864
  media ? /* @__PURE__ */ jsxs27(Group12, { h: "100%", px: "md", justify: "space-between", align: "center", children: [
6856
6865
  /* @__PURE__ */ jsxs27(Group12, { h: "100%", children: [
6857
- /* @__PURE__ */ jsx49(Tooltip5, { label: sidebarStore.state.opened ? "\u1EA8n thanh menu" : "Hi\u1EC7n thanh menu", children: /* @__PURE__ */ jsx49(ActionIcon10, { size: "lg", radius: "md", variant: "default", onClick: sidebarStore.toggle, children: sidebarStore.state.opened ? /* @__PURE__ */ jsx49(IconLayoutSidebarLeftExpand, {}) : /* @__PURE__ */ jsx49(IconLayoutSidebarLeftCollapse, {}) }) }),
6858
- /* @__PURE__ */ jsx49(Tooltip5, { label: "\u0110\xF3ng t\u1EA5t c\u1EA3 menu", children: /* @__PURE__ */ jsx49(ActionIcon10, { size: "lg", radius: "md", variant: "default", onClick: () => sidebarStore.clearGroupMenuOpenId(), children: /* @__PURE__ */ jsx49(IconLibraryMinus, {}) }) })
6866
+ /* @__PURE__ */ jsx50(Tooltip5, { label: sidebarStore.state.opened ? "\u1EA8n thanh menu" : "Hi\u1EC7n thanh menu", children: /* @__PURE__ */ jsx50(ActionIcon10, { size: "lg", radius: "md", variant: "default", onClick: sidebarStore.toggle, children: sidebarStore.state.opened ? /* @__PURE__ */ jsx50(IconLayoutSidebarLeftExpand, {}) : /* @__PURE__ */ jsx50(IconLayoutSidebarLeftCollapse, {}) }) }),
6867
+ /* @__PURE__ */ jsx50(Tooltip5, { label: "\u0110\xF3ng t\u1EA5t c\u1EA3 menu", children: /* @__PURE__ */ jsx50(ActionIcon10, { size: "lg", radius: "md", variant: "default", onClick: () => sidebarStore.clearGroupMenuOpenId(), children: /* @__PURE__ */ jsx50(IconLibraryMinus, {}) }) })
6859
6868
  ] }),
6860
- /* @__PURE__ */ jsx49(Group12, { style: { position: "absolute", left: "50%", transform: "translateX(-50%)" }, children: /* @__PURE__ */ jsx49(Text11, { c: "green", fw: "bold", children: "AQ EduCourseEvaluation - Ph\u1EA7n m\u1EC1m \u0111\xE1nh gi\xE1 chu\u1EA9n \u0111\u1EA7u ra" }) }),
6869
+ /* @__PURE__ */ jsx50(Group12, { style: { position: "absolute", left: "50%", transform: "translateX(-50%)" }, children: /* @__PURE__ */ jsx50(Text11, { c: "green", fw: "bold", children: "AQ EduCourseEvaluation - Ph\u1EA7n m\u1EC1m \u0111\xE1nh gi\xE1 chu\u1EA9n \u0111\u1EA7u ra" }) }),
6861
6870
  /* @__PURE__ */ jsxs27(Group12, { children: [
6862
- /* @__PURE__ */ jsx49(Text11, { children: "H\u1ECDc k\u1EF3 l\xE0m vi\u1EC7c" }),
6863
- /* @__PURE__ */ jsx49(
6871
+ /* @__PURE__ */ jsx50(Text11, { children: "H\u1ECDc k\u1EF3 l\xE0m vi\u1EC7c" }),
6872
+ /* @__PURE__ */ jsx50(
6864
6873
  Select3,
6865
6874
  {
6866
6875
  w: selectMedia ? 245 : 150,
@@ -6872,15 +6881,15 @@ function BasicAppShell({ children, menu }) {
6872
6881
  ]
6873
6882
  }
6874
6883
  ),
6875
- /* @__PURE__ */ jsx49(MySwitchTheme, {})
6884
+ /* @__PURE__ */ jsx50(MySwitchTheme, {})
6876
6885
  ] })
6877
6886
  ] }) : (
6878
6887
  // For mobile screens - simplified layout
6879
6888
  /* @__PURE__ */ jsxs27(Group12, { h: "100%", px: "md", justify: "space-between", children: [
6880
- /* @__PURE__ */ jsx49(ActionIcon10, { size: "lg", radius: "md", variant: "default", onClick: sidebarStore.toggle, children: sidebarStore.state.opened ? /* @__PURE__ */ jsx49(IconLayoutSidebarLeftExpand, {}) : /* @__PURE__ */ jsx49(IconLayoutSidebarLeftCollapse, {}) }),
6881
- /* @__PURE__ */ jsx49(Text11, { c: "green", fw: "bold", size: "sm", children: "AQ EduCourseEvaluation" }),
6889
+ /* @__PURE__ */ jsx50(ActionIcon10, { size: "lg", radius: "md", variant: "default", onClick: sidebarStore.toggle, children: sidebarStore.state.opened ? /* @__PURE__ */ jsx50(IconLayoutSidebarLeftExpand, {}) : /* @__PURE__ */ jsx50(IconLayoutSidebarLeftCollapse, {}) }),
6890
+ /* @__PURE__ */ jsx50(Text11, { c: "green", fw: "bold", size: "sm", children: "AQ EduCourseEvaluation" }),
6882
6891
  /* @__PURE__ */ jsxs27(Group12, { children: [
6883
- /* @__PURE__ */ jsx49(
6892
+ /* @__PURE__ */ jsx50(
6884
6893
  Select3,
6885
6894
  {
6886
6895
  w: 100,
@@ -6893,24 +6902,24 @@ function BasicAppShell({ children, menu }) {
6893
6902
  ]
6894
6903
  }
6895
6904
  ),
6896
- /* @__PURE__ */ jsx49(MySwitchTheme, {})
6905
+ /* @__PURE__ */ jsx50(MySwitchTheme, {})
6897
6906
  ] })
6898
6907
  ] })
6899
6908
  )
6900
6909
  ] }),
6901
6910
  /* @__PURE__ */ jsxs27(AppShell.Navbar, { children: [
6902
- /* @__PURE__ */ jsx49(TextInput2, { mt: "md", placeholder: "T\xECm menu (Ctrl + K)", mx: 10, component: "button", onClick: spotlight2.open, leftSection: /* @__PURE__ */ jsx49(IconSearch2, {}), children: "T\xECm ki\u1EBFm (Ctrl + K)" }),
6911
+ /* @__PURE__ */ jsx50(TextInput2, { mt: "md", placeholder: "T\xECm menu (Ctrl + K)", mx: 10, component: "button", onClick: spotlight2.open, leftSection: /* @__PURE__ */ jsx50(IconSearch2, {}), children: "T\xECm ki\u1EBFm (Ctrl + K)" }),
6903
6912
  /* @__PURE__ */ jsxs27(AppShell.Section, { grow: true, component: ScrollArea3, p: 5, children: [
6904
- /* @__PURE__ */ jsx49(RenderNavLinks, { items: menu }),
6905
- /* @__PURE__ */ jsx49(Divider3, {}),
6906
- /* @__PURE__ */ jsx49(F_authenticate_Logout, {})
6913
+ /* @__PURE__ */ jsx50(RenderNavLinks, { items: menu }),
6914
+ /* @__PURE__ */ jsx50(Divider3, {}),
6915
+ /* @__PURE__ */ jsx50(F_authenticate_Logout, {})
6907
6916
  ] }),
6908
6917
  /* @__PURE__ */ jsxs27(AppShell.Section, { p: "md", children: [
6909
- /* @__PURE__ */ jsx49(Divider3, {}),
6910
- /* @__PURE__ */ jsx49(Image3, { src: "/imgs/0/IMG0LogoAQTech.png", h: 50, alt: "", w: "auto" })
6918
+ /* @__PURE__ */ jsx50(Divider3, {}),
6919
+ /* @__PURE__ */ jsx50(Image3, { src: "/imgs/0/IMG0LogoAQTech.png", h: 50, alt: "", w: "auto" })
6911
6920
  ] })
6912
6921
  ] }),
6913
- /* @__PURE__ */ jsx49(AppShell.Main, { bg: "light-dark(var(--mantine-color-gray-1), var(--mantine-color-dark-8))", children })
6922
+ /* @__PURE__ */ jsx50(AppShell.Main, { bg: "light-dark(var(--mantine-color-gray-1), var(--mantine-color-dark-8))", children })
6914
6923
  ]
6915
6924
  }
6916
6925
  );
@@ -6959,10 +6968,10 @@ function utils_layout_getItemsWithoutLinks(menu) {
6959
6968
 
6960
6969
  // src/components/Layouts/Container/MyContainer.tsx
6961
6970
  import { Container as Container2, Flex as Flex4 } from "@mantine/core";
6962
- import { jsx as jsx50 } from "react/jsx-runtime";
6971
+ import { jsx as jsx51 } from "react/jsx-runtime";
6963
6972
  function MyContainer(_a) {
6964
6973
  var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
6965
- return /* @__PURE__ */ jsx50(Container2, __spreadProps(__spreadValues({ fluid: true }, rest), { children: /* @__PURE__ */ jsx50(Flex4, { direction: "column", children }) }));
6974
+ return /* @__PURE__ */ jsx51(Container2, __spreadProps(__spreadValues({ fluid: true }, rest), { children: /* @__PURE__ */ jsx51(Flex4, { direction: "column", children }) }));
6966
6975
  }
6967
6976
 
6968
6977
  // src/constants/object/color.ts
@@ -7015,7 +7024,7 @@ function useHeaderMegaMenuStore() {
7015
7024
  }
7016
7025
 
7017
7026
  // src/components/Layouts/HeaderMegaMenu/HeaderMegaMenu.tsx
7018
- import { jsx as jsx51, jsxs as jsxs28 } from "react/jsx-runtime";
7027
+ import { jsx as jsx52, jsxs as jsxs28 } from "react/jsx-runtime";
7019
7028
  var mockdata = [
7020
7029
  {
7021
7030
  icon: IconCode,
@@ -7053,27 +7062,27 @@ function HeaderMegaMenu({ children, menus }) {
7053
7062
  const [linksOpened, { toggle: toggleLinks }] = useDisclosure10(false);
7054
7063
  const HeaderMegaMenuStore = useHeaderMegaMenuStore();
7055
7064
  const theme = useMantineTheme();
7056
- const links = mockdata.map((item) => /* @__PURE__ */ jsx51(UnstyledButton, { className: css_default2.subLink, children: /* @__PURE__ */ jsxs28(Group13, { wrap: "nowrap", align: "flex-start", children: [
7057
- /* @__PURE__ */ jsx51(ThemeIcon, { size: 34, variant: "default", radius: "md", children: /* @__PURE__ */ jsx51(item.icon, { size: 22, color: theme.colors.blue[6] }) }),
7065
+ const links = mockdata.map((item) => /* @__PURE__ */ jsx52(UnstyledButton, { className: css_default2.subLink, children: /* @__PURE__ */ jsxs28(Group13, { wrap: "nowrap", align: "flex-start", children: [
7066
+ /* @__PURE__ */ jsx52(ThemeIcon, { size: 34, variant: "default", radius: "md", children: /* @__PURE__ */ jsx52(item.icon, { size: 22, color: theme.colors.blue[6] }) }),
7058
7067
  /* @__PURE__ */ jsxs28("div", { children: [
7059
- /* @__PURE__ */ jsx51(Text12, { size: "sm", fw: 500, children: item.title }),
7060
- /* @__PURE__ */ jsx51(Text12, { size: "xs", c: "dimmed", children: item.description })
7068
+ /* @__PURE__ */ jsx52(Text12, { size: "sm", fw: 500, children: item.title }),
7069
+ /* @__PURE__ */ jsx52(Text12, { size: "xs", c: "dimmed", children: item.description })
7061
7070
  ] })
7062
7071
  ] }) }, item.title));
7063
7072
  return /* @__PURE__ */ jsxs28(Box4, { children: [
7064
- /* @__PURE__ */ jsx51("header", { className: css_default2.header, children: /* @__PURE__ */ jsxs28(Group13, { justify: "space-between", h: "100%", children: [
7073
+ /* @__PURE__ */ jsx52("header", { className: css_default2.header, children: /* @__PURE__ */ jsxs28(Group13, { justify: "space-between", h: "100%", children: [
7065
7074
  /* @__PURE__ */ jsxs28(Group13, { children: [
7066
- /* @__PURE__ */ jsx51(Image4, { src: "/imgs/0/IMG0LogoAQTech.png", h: 30, alt: "", w: "auto" }),
7067
- /* @__PURE__ */ jsx51(Group13, { h: "100%", gap: 5, visibleFrom: "sm", children: menus == null ? void 0 : menus.map((item, idx) => /* @__PURE__ */ jsx51(Button14, { component: Link4, href: item.href, variant: HeaderMegaMenuStore.state.name == item.label ? "light" : "subtle", onClick: () => HeaderMegaMenuStore.setState({ name: item.label }), children: item.label }, idx)) })
7075
+ /* @__PURE__ */ jsx52(Image4, { src: "/imgs/0/IMG0LogoAQTech.png", h: 30, alt: "", w: "auto" }),
7076
+ /* @__PURE__ */ jsx52(Group13, { h: "100%", gap: 5, visibleFrom: "sm", children: menus == null ? void 0 : menus.map((item, idx) => /* @__PURE__ */ jsx52(Button14, { component: Link4, href: item.href, variant: HeaderMegaMenuStore.state.name == item.label ? "light" : "subtle", onClick: () => HeaderMegaMenuStore.setState({ name: item.label }), children: item.label }, idx)) })
7068
7077
  ] }),
7069
7078
  /* @__PURE__ */ jsxs28(Group13, { children: [
7070
- /* @__PURE__ */ jsx51(TextInput3, { placeholder: "T\xECm ki\u1EBFm", leftSection: /* @__PURE__ */ jsx51(IconSearch3, {}), radius: "xl", w: "250px" }),
7071
- /* @__PURE__ */ jsx51(MySwitchTheme, {})
7079
+ /* @__PURE__ */ jsx52(TextInput3, { placeholder: "T\xECm ki\u1EBFm", leftSection: /* @__PURE__ */ jsx52(IconSearch3, {}), radius: "xl", w: "250px" }),
7080
+ /* @__PURE__ */ jsx52(MySwitchTheme, {})
7072
7081
  ] }),
7073
- /* @__PURE__ */ jsx51(Burger, { opened: drawerOpened, onClick: toggleDrawer, hiddenFrom: "sm" })
7082
+ /* @__PURE__ */ jsx52(Burger, { opened: drawerOpened, onClick: toggleDrawer, hiddenFrom: "sm" })
7074
7083
  ] }) }),
7075
- /* @__PURE__ */ jsx51(Container3, { fluid: true, pt: "sm", pb: "md", bg: OBJECT_COlORS.mantineBackgroundSecondary, mih: "93vh", children }),
7076
- /* @__PURE__ */ jsx51(
7084
+ /* @__PURE__ */ jsx52(Container3, { fluid: true, pt: "sm", pb: "md", bg: OBJECT_COlORS.mantineBackgroundSecondary, mih: "93vh", children }),
7085
+ /* @__PURE__ */ jsx52(
7077
7086
  Drawer,
7078
7087
  {
7079
7088
  opened: drawerOpened,
@@ -7084,9 +7093,9 @@ function HeaderMegaMenu({ children, menus }) {
7084
7093
  hiddenFrom: "sm",
7085
7094
  zIndex: 1e6,
7086
7095
  children: /* @__PURE__ */ jsxs28(ScrollArea4, { h: "calc(100vh - 80px", mx: "-md", children: [
7087
- /* @__PURE__ */ jsx51(Divider4, { my: "sm" }),
7088
- /* @__PURE__ */ jsx51(MyFlexColumn, { h: "100%", gap: 0, children: menus == null ? void 0 : menus.map((item, idx) => /* @__PURE__ */ jsx51(Button14, { component: Link4, href: item.href, variant: HeaderMegaMenuStore.state.name == item.label ? "light" : "subtle", onClick: () => HeaderMegaMenuStore.setState({ name: item.label }), children: item.label }, idx)) }),
7089
- /* @__PURE__ */ jsx51(Divider4, { my: "sm" })
7096
+ /* @__PURE__ */ jsx52(Divider4, { my: "sm" }),
7097
+ /* @__PURE__ */ jsx52(MyFlexColumn, { h: "100%", gap: 0, children: menus == null ? void 0 : menus.map((item, idx) => /* @__PURE__ */ jsx52(Button14, { component: Link4, href: item.href, variant: HeaderMegaMenuStore.state.name == item.label ? "light" : "subtle", onClick: () => HeaderMegaMenuStore.setState({ name: item.label }), children: item.label }, idx)) }),
7098
+ /* @__PURE__ */ jsx52(Divider4, { my: "sm" })
7090
7099
  ] })
7091
7100
  }
7092
7101
  )
@@ -7095,15 +7104,15 @@ function HeaderMegaMenu({ children, menus }) {
7095
7104
 
7096
7105
  // src/components/Layouts/Tab/MyTab.tsx
7097
7106
  import { rem, Space as Space3, Tabs } from "@mantine/core";
7098
- import { jsx as jsx52, jsxs as jsxs29 } from "react/jsx-runtime";
7107
+ import { jsx as jsx53, jsxs as jsxs29 } from "react/jsx-runtime";
7099
7108
  function MyTab(_a) {
7100
7109
  var _b = _a, { tabList, children } = _b, rest = __objRest(_b, ["tabList", "children"]);
7101
7110
  const iconStyle = { width: rem(20), height: rem(20) };
7102
7111
  return /* @__PURE__ */ jsxs29(Tabs, __spreadProps(__spreadValues({ defaultValue: tabList[0].label }, rest), { children: [
7103
- /* @__PURE__ */ jsx52(Tabs.List, { children: tabList.map((item, idx) => {
7104
- return /* @__PURE__ */ jsx52(Tabs.Tab, { value: item.label, leftSection: item.icon && /* @__PURE__ */ jsx52(item.icon, { style: iconStyle }), children: item.label }, idx);
7112
+ /* @__PURE__ */ jsx53(Tabs.List, { children: tabList.map((item, idx) => {
7113
+ return /* @__PURE__ */ jsx53(Tabs.Tab, { value: item.label, leftSection: item.icon && /* @__PURE__ */ jsx53(item.icon, { style: iconStyle }), children: item.label }, idx);
7105
7114
  }) }),
7106
- /* @__PURE__ */ jsx52(Space3, { my: "md" }),
7115
+ /* @__PURE__ */ jsx53(Space3, { my: "md" }),
7107
7116
  children
7108
7117
  ] }));
7109
7118
  }
@@ -7112,33 +7121,33 @@ function MyTab(_a) {
7112
7121
  import { ActionIcon as ActionIcon11, Button as Button15, Fieldset as Fieldset5, Group as Group14, Modal as Modal11 } from "@mantine/core";
7113
7122
  import { useDisclosure as useDisclosure11 } from "@mantine/hooks";
7114
7123
  import { IconX as IconX2 } from "@tabler/icons-react";
7115
- import { jsx as jsx53, jsxs as jsxs30 } from "react/jsx-runtime";
7124
+ import { jsx as jsx54, jsxs as jsxs30 } from "react/jsx-runtime";
7116
7125
  function MyDataTableSelect(_a) {
7117
7126
  var _b = _a, { modalSize, renderTopToolbarCustomActions, data, selectButtonlabel, listState, columns, listLabel } = _b, rest = __objRest(_b, ["modalSize", "renderTopToolbarCustomActions", "data", "selectButtonlabel", "listState", "columns", "listLabel"]);
7118
7127
  const disc = useDisclosure11(false);
7119
7128
  if (data == void 0) return "\u0110ang t\u1EA3i...";
7120
7129
  return /* @__PURE__ */ jsxs30(Fieldset5, { legend: listLabel ? listLabel : "Danh s\xE1ch", children: [
7121
- /* @__PURE__ */ jsx53(
7130
+ /* @__PURE__ */ jsx54(
7122
7131
  MyDataTable,
7123
7132
  __spreadValues({
7124
7133
  renderTopToolbarCustomActions: ({ table }) => {
7125
7134
  return /* @__PURE__ */ jsxs30(Group14, { children: [
7126
7135
  renderTopToolbarCustomActions && renderTopToolbarCustomActions({ table }),
7127
- /* @__PURE__ */ jsx53(Button15, { onClick: disc[1].open, children: selectButtonlabel || "Ch\u1ECDn t\u1EEB danh s\xE1ch" })
7136
+ /* @__PURE__ */ jsx54(Button15, { onClick: disc[1].open, children: selectButtonlabel || "Ch\u1ECDn t\u1EEB danh s\xE1ch" })
7128
7137
  ] });
7129
7138
  },
7130
7139
  columns,
7131
7140
  data: listState[0],
7132
7141
  renderRowActions: ({ row }) => {
7133
- return /* @__PURE__ */ jsx53(MyCenterFull, { children: /* @__PURE__ */ jsx53(ActionIcon11, { color: "red", onClick: () => listState[1].remove(row.index), children: /* @__PURE__ */ jsx53(IconX2, {}) }) });
7142
+ return /* @__PURE__ */ jsx54(MyCenterFull, { children: /* @__PURE__ */ jsx54(ActionIcon11, { color: "red", onClick: () => listState[1].remove(row.index), children: /* @__PURE__ */ jsx54(IconX2, {}) }) });
7134
7143
  }
7135
7144
  }, rest)
7136
7145
  ),
7137
- /* @__PURE__ */ jsx53(Modal11, { opened: disc[0], onClose: disc[1].close, size: modalSize || "80%", children: /* @__PURE__ */ jsx53(
7146
+ /* @__PURE__ */ jsx54(Modal11, { opened: disc[0], onClose: disc[1].close, size: modalSize || "80%", children: /* @__PURE__ */ jsx54(
7138
7147
  MyDataTable,
7139
7148
  __spreadValues({
7140
7149
  renderTopToolbarCustomActions: ({ table }) => {
7141
- return /* @__PURE__ */ jsx53(Button15, { onClick: () => {
7150
+ return /* @__PURE__ */ jsx54(Button15, { onClick: () => {
7142
7151
  table.getSelectedRowModel().rows.map((item) => listState[1].append(item.original));
7143
7152
  disc[1].close();
7144
7153
  }, children: "Ch\u1ECDn" });
@@ -7154,7 +7163,7 @@ function MyDataTableSelect(_a) {
7154
7163
  // src/components/RESTAPIComponents/SelectAPIGet/MySelectAPIGet.tsx
7155
7164
  import { Select as Select4 } from "@mantine/core";
7156
7165
  import { useQuery as useQuery2 } from "@tanstack/react-query";
7157
- import { jsx as jsx54 } from "react/jsx-runtime";
7166
+ import { jsx as jsx55 } from "react/jsx-runtime";
7158
7167
  function MySelectAPIGet(_a) {
7159
7168
  var _b = _a, { apiGet, label = "", dataMapper } = _b, rest = __objRest(_b, ["apiGet", "label", "dataMapper"]);
7160
7169
  var _a2;
@@ -7173,7 +7182,7 @@ function MySelectAPIGet(_a) {
7173
7182
  label: `${item.code}-${item.name}`
7174
7183
  };
7175
7184
  });
7176
- return /* @__PURE__ */ jsx54(
7185
+ return /* @__PURE__ */ jsx55(
7177
7186
  Select4,
7178
7187
  __spreadValues({
7179
7188
  label,
@@ -7185,15 +7194,15 @@ function MySelectAPIGet(_a) {
7185
7194
 
7186
7195
  // src/components/Skeletons/SkeletonTable/MySkeletonTable.tsx
7187
7196
  import { Skeleton } from "@mantine/core";
7188
- import { jsx as jsx55 } from "react/jsx-runtime";
7197
+ import { jsx as jsx56 } from "react/jsx-runtime";
7189
7198
  function MySkeletonTable({ h: h4 = 500 }) {
7190
- return /* @__PURE__ */ jsx55(Skeleton, { h: h4 });
7199
+ return /* @__PURE__ */ jsx56(Skeleton, { h: h4 });
7191
7200
  }
7192
7201
 
7193
7202
  // src/modules-features/admin/core/core18256/F_core18256_Select.tsx
7194
7203
  import { Select as Select5 } from "@mantine/core";
7195
7204
  import { useQuery as useQuery3 } from "@tanstack/react-query";
7196
- import { jsx as jsx56 } from "react/jsx-runtime";
7205
+ import { jsx as jsx57 } from "react/jsx-runtime";
7197
7206
  function F_core18256_Select(_a) {
7198
7207
  var _b = _a, { documentTypeId, label = "", dataMapper } = _b, rest = __objRest(_b, ["documentTypeId", "label", "dataMapper"]);
7199
7208
  var _a2, _b2;
@@ -7213,7 +7222,7 @@ function F_core18256_Select(_a) {
7213
7222
  label: `${item.code}-${item.name}`
7214
7223
  };
7215
7224
  });
7216
- return /* @__PURE__ */ jsx56(
7225
+ return /* @__PURE__ */ jsx57(
7217
7226
  Select5,
7218
7227
  __spreadProps(__spreadValues({
7219
7228
  label,
@@ -7227,7 +7236,7 @@ function F_core18256_Select(_a) {
7227
7236
 
7228
7237
  // src/modules-features/admin/core/core12196/F_core12196_Create.tsx
7229
7238
  import { useForm } from "@mantine/form";
7230
- import { jsx as jsx57, jsxs as jsxs31 } from "react/jsx-runtime";
7239
+ import { jsx as jsx58, jsxs as jsxs31 } from "react/jsx-runtime";
7231
7240
  function F_core12196_Create() {
7232
7241
  const form = useForm({
7233
7242
  mode: "uncontrolled"
@@ -7241,24 +7250,24 @@ function F_core12196_Create() {
7241
7250
  })
7242
7251
  );
7243
7252
  }, children: [
7244
- /* @__PURE__ */ jsx57(MyTextInput, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))),
7245
- /* @__PURE__ */ jsx57(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))),
7246
- /* @__PURE__ */ jsx57(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))),
7247
- /* @__PURE__ */ jsx57(F_core18256_Select, __spreadValues({ label: "Lo\u1EA1i v\u0103n b\u1EA3n", documentTypeId: OBJECT_DOCUMENT_TYPES.Form }, form.getInputProps("documentAttributeId"))),
7248
- /* @__PURE__ */ jsx57(MyFileInput, __spreadValues({ label: "V\u0103n b\u1EA3n" }, form.getInputProps("file"))),
7249
- /* @__PURE__ */ jsx57(MyNumberInput, __spreadValues({ label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch" }, form.getInputProps("orderBy")))
7253
+ /* @__PURE__ */ jsx58(MyTextInput, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))),
7254
+ /* @__PURE__ */ jsx58(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))),
7255
+ /* @__PURE__ */ jsx58(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))),
7256
+ /* @__PURE__ */ jsx58(F_core18256_Select, __spreadValues({ label: "Lo\u1EA1i v\u0103n b\u1EA3n", documentTypeId: OBJECT_DOCUMENT_TYPES.Form }, form.getInputProps("documentAttributeId"))),
7257
+ /* @__PURE__ */ jsx58(MyFileInput, __spreadValues({ label: "V\u0103n b\u1EA3n" }, form.getInputProps("file"))),
7258
+ /* @__PURE__ */ jsx58(MyNumberInput, __spreadValues({ label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch" }, form.getInputProps("orderBy")))
7250
7259
  ] });
7251
7260
  }
7252
7261
 
7253
7262
  // src/modules-features/admin/core/core12196/F_core12196_Delete.tsx
7254
- import { jsx as jsx58 } from "react/jsx-runtime";
7263
+ import { jsx as jsx59 } from "react/jsx-runtime";
7255
7264
  function F_core12196_Delete({ id }) {
7256
- return /* @__PURE__ */ jsx58(MyActionIconDelete, { onSubmit: async () => await baseAxios_default.post("/Document/delete", { id }) });
7265
+ return /* @__PURE__ */ jsx59(MyActionIconDelete, { onSubmit: async () => await baseAxios_default.post("/Document/delete", { id }) });
7257
7266
  }
7258
7267
 
7259
7268
  // src/modules-features/admin/core/core12196/F_core12196_Update.tsx
7260
7269
  import { useForm as useForm2 } from "@mantine/form";
7261
- import { jsx as jsx59, jsxs as jsxs32 } from "react/jsx-runtime";
7270
+ import { jsx as jsx60, jsxs as jsxs32 } from "react/jsx-runtime";
7262
7271
  function F_core12196_Update({ values }) {
7263
7272
  var _a;
7264
7273
  const form = useForm2({
@@ -7272,17 +7281,17 @@ function F_core12196_Update({ values }) {
7272
7281
  fileDetail: await utils_file_fileToAQDocumentType(values2.file)
7273
7282
  }));
7274
7283
  }, children: [
7275
- /* @__PURE__ */ jsx59(MyTextInput, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))),
7276
- /* @__PURE__ */ jsx59(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))),
7277
- /* @__PURE__ */ jsx59(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))),
7278
- /* @__PURE__ */ jsx59(F_core18256_Select, __spreadValues({ label: "Lo\u1EA1i v\u0103n b\u1EA3n", documentTypeId: OBJECT_DOCUMENT_TYPES.Form }, form.getInputProps("documentAttributeId"))),
7279
- /* @__PURE__ */ jsx59(MyFileInput, __spreadValues({ label: "V\u0103n b\u1EA3n" }, form.getInputProps("file"))),
7280
- /* @__PURE__ */ jsx59(MyNumberInput, __spreadValues({ label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch" }, form.getInputProps("orderBy")))
7284
+ /* @__PURE__ */ jsx60(MyTextInput, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))),
7285
+ /* @__PURE__ */ jsx60(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))),
7286
+ /* @__PURE__ */ jsx60(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))),
7287
+ /* @__PURE__ */ jsx60(F_core18256_Select, __spreadValues({ label: "Lo\u1EA1i v\u0103n b\u1EA3n", documentTypeId: OBJECT_DOCUMENT_TYPES.Form }, form.getInputProps("documentAttributeId"))),
7288
+ /* @__PURE__ */ jsx60(MyFileInput, __spreadValues({ label: "V\u0103n b\u1EA3n" }, form.getInputProps("file"))),
7289
+ /* @__PURE__ */ jsx60(MyNumberInput, __spreadValues({ label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch" }, form.getInputProps("orderBy")))
7281
7290
  ] });
7282
7291
  }
7283
7292
 
7284
7293
  // src/modules-features/admin/core/core12196/F_core12196.tsx
7285
- import { jsx as jsx60, jsxs as jsxs33 } from "react/jsx-runtime";
7294
+ import { jsx as jsx61, jsxs as jsxs33 } from "react/jsx-runtime";
7286
7295
  function F_core12196() {
7287
7296
  var _a, _b, _c;
7288
7297
  const documentAttributeQuery = useQuery4({
@@ -7295,11 +7304,11 @@ function F_core12196() {
7295
7304
  });
7296
7305
  if (documentAttributeQuery.isLoading) return "Loading...";
7297
7306
  if (documentAttributeQuery.isError) return "c\xF3 l\u1ED7i x\u1EA3y ra!";
7298
- if (((_a = documentAttributeQuery.data) == null ? void 0 : _a.length) == 0) return /* @__PURE__ */ jsx60(Blockquote, { color: "yellow", children: "Ch\u01B0a c\xF3 lo\u1EA1i v\u0103n b\u1EA3n" });
7299
- return /* @__PURE__ */ jsx60(MyPageContent, { rightTopBar: /* @__PURE__ */ jsx60(F_core12196_Create, {}), children: /* @__PURE__ */ jsx60(MyFlexColumn, { children: /* @__PURE__ */ jsx60(Accordion, { defaultValue: (_b = documentAttributeQuery.data) == null ? void 0 : _b.map((item) => {
7307
+ if (((_a = documentAttributeQuery.data) == null ? void 0 : _a.length) == 0) return /* @__PURE__ */ jsx61(Blockquote, { color: "yellow", children: "Ch\u01B0a c\xF3 lo\u1EA1i v\u0103n b\u1EA3n" });
7308
+ return /* @__PURE__ */ jsx61(MyPageContent, { rightTopBar: /* @__PURE__ */ jsx61(F_core12196_Create, {}), children: /* @__PURE__ */ jsx61(MyFlexColumn, { children: /* @__PURE__ */ jsx61(Accordion, { defaultValue: (_b = documentAttributeQuery.data) == null ? void 0 : _b.map((item) => {
7300
7309
  var _a2;
7301
7310
  return (_a2 = item.id) == null ? void 0 : _a2.toString();
7302
- }), multiple: true, children: (_c = documentAttributeQuery.data) == null ? void 0 : _c.map((item, idx) => /* @__PURE__ */ jsx60(SubRead, { name: item.name, documentType: item.id }, idx)) }) }) });
7311
+ }), multiple: true, children: (_c = documentAttributeQuery.data) == null ? void 0 : _c.map((item, idx) => /* @__PURE__ */ jsx61(SubRead, { name: item.name, documentType: item.id }, idx)) }) }) });
7303
7312
  }
7304
7313
  function SubRead({ name, documentType }) {
7305
7314
  const documentQuery = useQuery4({
@@ -7326,7 +7335,7 @@ function SubRead({ name, documentType }) {
7326
7335
  {
7327
7336
  header: "File",
7328
7337
  accessorFn: (row) => {
7329
- return /* @__PURE__ */ jsx60(MyCenterFull, { children: /* @__PURE__ */ jsx60(MyButtonViewPDF, { id: row.id }) });
7338
+ return /* @__PURE__ */ jsx61(MyCenterFull, { children: /* @__PURE__ */ jsx61(MyButtonViewPDF, { id: row.id }) });
7330
7339
  }
7331
7340
  }
7332
7341
  ],
@@ -7335,15 +7344,15 @@ function SubRead({ name, documentType }) {
7335
7344
  if (documentQuery.isLoading) return "Loading...";
7336
7345
  if (documentQuery.isError) return "Error!";
7337
7346
  return /* @__PURE__ */ jsxs33(Accordion.Item, { value: documentType.toString(), children: [
7338
- /* @__PURE__ */ jsx60(Accordion.Control, { children: name }),
7339
- /* @__PURE__ */ jsx60(Accordion.Panel, { children: /* @__PURE__ */ jsx60(
7347
+ /* @__PURE__ */ jsx61(Accordion.Control, { children: name }),
7348
+ /* @__PURE__ */ jsx61(Accordion.Panel, { children: /* @__PURE__ */ jsx61(
7340
7349
  MyDataTable,
7341
7350
  {
7342
7351
  columns,
7343
7352
  data: documentQuery.data,
7344
7353
  renderRowActions: ({ row }) => /* @__PURE__ */ jsxs33(MyCenterFull, { children: [
7345
- /* @__PURE__ */ jsx60(F_core12196_Update, { values: row.original }),
7346
- /* @__PURE__ */ jsx60(F_core12196_Delete, { id: row.original.id })
7354
+ /* @__PURE__ */ jsx61(F_core12196_Update, { values: row.original }),
7355
+ /* @__PURE__ */ jsx61(F_core12196_Delete, { id: row.original.id })
7347
7356
  ] })
7348
7357
  }
7349
7358
  ) })
@@ -7357,7 +7366,7 @@ import { useMemo as useMemo4 } from "react";
7357
7366
  // src/modules-features/admin/core/core16209/F_core16209_Create.tsx
7358
7367
  import { FileInput as FileInput4 } from "@mantine/core";
7359
7368
  import { useForm as useForm3 } from "@mantine/form";
7360
- import { jsx as jsx61, jsxs as jsxs34 } from "react/jsx-runtime";
7369
+ import { jsx as jsx62, jsxs as jsxs34 } from "react/jsx-runtime";
7361
7370
  function F_core16209_Create() {
7362
7371
  const form = useForm3({
7363
7372
  mode: "uncontrolled"
@@ -7372,24 +7381,24 @@ function F_core16209_Create() {
7372
7381
  })
7373
7382
  );
7374
7383
  }, children: [
7375
- /* @__PURE__ */ jsx61(MyTextInput, __spreadValues({ label: "\u0110\u01A1n v\u1ECB y\xEAu c\u1EA7u" }, form.getInputProps("departmentName"))),
7376
- /* @__PURE__ */ jsx61(MyTextInput, __spreadValues({ label: "N\u1ED9i dung c\u1EA3i ti\u1EBFn" }, form.getInputProps("description"))),
7377
- /* @__PURE__ */ jsx61(MyDateInput, __spreadValues({ label: "Ng\xE0y b\u1EAFt \u0111\u1EA7u" }, form.getInputProps("startDate"))),
7378
- /* @__PURE__ */ jsx61(MyDateInput, __spreadValues({ label: "Ng\xE0y k\u1EBFt th\xFAc" }, form.getInputProps("endDate"))),
7379
- /* @__PURE__ */ jsx61(FileInput4, __spreadValues({ label: "T\xE0i li\u1EC7u" }, form.getInputProps("file")))
7384
+ /* @__PURE__ */ jsx62(MyTextInput, __spreadValues({ label: "\u0110\u01A1n v\u1ECB y\xEAu c\u1EA7u" }, form.getInputProps("departmentName"))),
7385
+ /* @__PURE__ */ jsx62(MyTextInput, __spreadValues({ label: "N\u1ED9i dung c\u1EA3i ti\u1EBFn" }, form.getInputProps("description"))),
7386
+ /* @__PURE__ */ jsx62(MyDateInput, __spreadValues({ label: "Ng\xE0y b\u1EAFt \u0111\u1EA7u" }, form.getInputProps("startDate"))),
7387
+ /* @__PURE__ */ jsx62(MyDateInput, __spreadValues({ label: "Ng\xE0y k\u1EBFt th\xFAc" }, form.getInputProps("endDate"))),
7388
+ /* @__PURE__ */ jsx62(FileInput4, __spreadValues({ label: "T\xE0i li\u1EC7u" }, form.getInputProps("file")))
7380
7389
  ] });
7381
7390
  }
7382
7391
 
7383
7392
  // src/modules-features/admin/core/core16209/F_core16209_Delete.tsx
7384
- import { jsx as jsx62 } from "react/jsx-runtime";
7393
+ import { jsx as jsx63 } from "react/jsx-runtime";
7385
7394
  function F_core16209_Delete({ id }) {
7386
- return /* @__PURE__ */ jsx62(MyActionIconDelete, { onSubmit: () => baseAxios_default.post("/Document/delete", { id }) });
7395
+ return /* @__PURE__ */ jsx63(MyActionIconDelete, { onSubmit: () => baseAxios_default.post("/Document/delete", { id }) });
7387
7396
  }
7388
7397
 
7389
7398
  // src/modules-features/admin/core/core16209/F_core16209_Update.tsx
7390
7399
  import { FileInput as FileInput5, TextInput as TextInput4 } from "@mantine/core";
7391
7400
  import { useForm as useForm4 } from "@mantine/form";
7392
- import { jsx as jsx63, jsxs as jsxs35 } from "react/jsx-runtime";
7401
+ import { jsx as jsx64, jsxs as jsxs35 } from "react/jsx-runtime";
7393
7402
  function F_core16209_Update({ values }) {
7394
7403
  var _a;
7395
7404
  const form = useForm4({
@@ -7404,15 +7413,15 @@ function F_core16209_Update({ values }) {
7404
7413
  fileDetail: await utils_file_fileToAQDocumentType(values2.file)
7405
7414
  }));
7406
7415
  }, children: [
7407
- /* @__PURE__ */ jsx63(TextInput4, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))),
7408
- /* @__PURE__ */ jsx63(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))),
7409
- /* @__PURE__ */ jsx63(TextInput4, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))),
7410
- /* @__PURE__ */ jsx63(FileInput5, __spreadValues({ label: "Ch\u1ECDn file" }, form.getInputProps("file")))
7416
+ /* @__PURE__ */ jsx64(TextInput4, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))),
7417
+ /* @__PURE__ */ jsx64(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))),
7418
+ /* @__PURE__ */ jsx64(TextInput4, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))),
7419
+ /* @__PURE__ */ jsx64(FileInput5, __spreadValues({ label: "Ch\u1ECDn file" }, form.getInputProps("file")))
7411
7420
  ] });
7412
7421
  }
7413
7422
 
7414
7423
  // src/modules-features/admin/core/core16209/F_core16209.tsx
7415
- import { jsx as jsx64, jsxs as jsxs36 } from "react/jsx-runtime";
7424
+ import { jsx as jsx65, jsxs as jsxs36 } from "react/jsx-runtime";
7416
7425
  function F_core16209() {
7417
7426
  const query = useQuery5({
7418
7427
  queryKey: ["F_core16209_Read"],
@@ -7443,7 +7452,7 @@ function F_core16209() {
7443
7452
  {
7444
7453
  header: "File",
7445
7454
  accessorFn: (row) => {
7446
- return /* @__PURE__ */ jsx64(MyCenterFull, { children: /* @__PURE__ */ jsx64(MyButtonViewPDF, { id: row.id }) });
7455
+ return /* @__PURE__ */ jsx65(MyCenterFull, { children: /* @__PURE__ */ jsx65(MyButtonViewPDF, { id: row.id }) });
7447
7456
  }
7448
7457
  }
7449
7458
  ],
@@ -7451,16 +7460,16 @@ function F_core16209() {
7451
7460
  );
7452
7461
  if (query.isLoading) return "Loading...";
7453
7462
  if (query.isError) return "c\xF3 l\u1ED7i x\u1EA3y ra!";
7454
- return /* @__PURE__ */ jsx64(MyPageContent, { children: /* @__PURE__ */ jsx64(
7463
+ return /* @__PURE__ */ jsx65(MyPageContent, { children: /* @__PURE__ */ jsx65(
7455
7464
  MyDataTable,
7456
7465
  {
7457
7466
  columns,
7458
7467
  data: query.data,
7459
- renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx64(F_core16209_Create, {}),
7468
+ renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx65(F_core16209_Create, {}),
7460
7469
  renderRowActions: ({ row }) => {
7461
7470
  return /* @__PURE__ */ jsxs36(MyCenterFull, { children: [
7462
- /* @__PURE__ */ jsx64(F_core16209_Update, { values: row.original }),
7463
- /* @__PURE__ */ jsx64(F_core16209_Delete, { id: row.original.id })
7471
+ /* @__PURE__ */ jsx65(F_core16209_Update, { values: row.original }),
7472
+ /* @__PURE__ */ jsx65(F_core16209_Delete, { id: row.original.id })
7464
7473
  ] });
7465
7474
  }
7466
7475
  }
@@ -7476,7 +7485,7 @@ import { useMemo as useMemo5 } from "react";
7476
7485
 
7477
7486
  // src/modules-features/admin/core/core18256/F_core18256_Create.tsx
7478
7487
  import { useForm as useForm5 } from "@mantine/form";
7479
- import { jsx as jsx65, jsxs as jsxs37 } from "react/jsx-runtime";
7488
+ import { jsx as jsx66, jsxs as jsxs37 } from "react/jsx-runtime";
7480
7489
  function F_core18256_Create({ documentType }) {
7481
7490
  const form = useForm5({
7482
7491
  mode: "uncontrolled",
@@ -7490,15 +7499,15 @@ function F_core18256_Create({ documentType }) {
7490
7499
  }
7491
7500
  });
7492
7501
  return /* @__PURE__ */ jsxs37(MyButtonCreate, { objectName: "Lo\u1EA1i v\u0103n b\u1EA3n", form, onSubmit: (values) => baseAxios_default.post("/DocumentAttribute/Create", values), children: [
7493
- /* @__PURE__ */ jsx65(MyTextInput, __spreadValues({ label: "M\xE3 lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("code"))),
7494
- /* @__PURE__ */ jsx65(MyTextInput, __spreadValues({ label: "T\xEAn lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("name")))
7502
+ /* @__PURE__ */ jsx66(MyTextInput, __spreadValues({ label: "M\xE3 lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("code"))),
7503
+ /* @__PURE__ */ jsx66(MyTextInput, __spreadValues({ label: "T\xEAn lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("name")))
7495
7504
  ] });
7496
7505
  }
7497
7506
 
7498
7507
  // src/modules-features/admin/core/core18256/F_core18256_Delete.tsx
7499
- import { jsx as jsx66 } from "react/jsx-runtime";
7508
+ import { jsx as jsx67 } from "react/jsx-runtime";
7500
7509
  function F_core18256_Delete({ id }) {
7501
- return /* @__PURE__ */ jsx66(
7510
+ return /* @__PURE__ */ jsx67(
7502
7511
  MyActionIconDelete,
7503
7512
  {
7504
7513
  onSubmit: async () => await baseAxios_default.post("/DocumentAttribute/Delete", { id })
@@ -7508,19 +7517,19 @@ function F_core18256_Delete({ id }) {
7508
7517
 
7509
7518
  // src/modules-features/admin/core/core18256/F_core18256_Update.tsx
7510
7519
  import { useForm as useForm6 } from "@mantine/form";
7511
- import { jsx as jsx67, jsxs as jsxs38 } from "react/jsx-runtime";
7520
+ import { jsx as jsx68, jsxs as jsxs38 } from "react/jsx-runtime";
7512
7521
  function F_core18256_Update({ values }) {
7513
7522
  const form = useForm6({
7514
7523
  initialValues: values
7515
7524
  });
7516
7525
  return /* @__PURE__ */ jsxs38(MyActionIconUpdate, { form, onSubmit: async (values2) => await baseAxios_default.post("/DocumentAttribute/Update", values2), children: [
7517
- /* @__PURE__ */ jsx67(MyTextInput, __spreadValues({ label: "M\xE3 lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("code"))),
7518
- /* @__PURE__ */ jsx67(MyTextInput, __spreadValues({ label: "T\xEAn lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("name")))
7526
+ /* @__PURE__ */ jsx68(MyTextInput, __spreadValues({ label: "M\xE3 lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("code"))),
7527
+ /* @__PURE__ */ jsx68(MyTextInput, __spreadValues({ label: "T\xEAn lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("name")))
7519
7528
  ] });
7520
7529
  }
7521
7530
 
7522
7531
  // src/modules-features/admin/core/core18256/F_core18256_Read.tsx
7523
- import { jsx as jsx68, jsxs as jsxs39 } from "react/jsx-runtime";
7532
+ import { jsx as jsx69, jsxs as jsxs39 } from "react/jsx-runtime";
7524
7533
  function F_core18256_Read({ documentType }) {
7525
7534
  const documentAttributeQuery = useQuery6({
7526
7535
  queryKey: ["F_core18256_Read", documentType],
@@ -7545,17 +7554,17 @@ function F_core18256_Read({ documentType }) {
7545
7554
  );
7546
7555
  if (documentAttributeQuery.isLoading) return "\u0110ang t\u1EA3i d\u1EEF li\u1EC7u...";
7547
7556
  if (documentAttributeQuery.isError) return "C\xF3 l\u1ED7i x\u1EA3y ra!";
7548
- return /* @__PURE__ */ jsx68(
7557
+ return /* @__PURE__ */ jsx69(
7549
7558
  MyDataTable,
7550
7559
  {
7551
7560
  columns,
7552
7561
  enableRowNumbers: true,
7553
7562
  data: documentAttributeQuery.data,
7554
- renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx68(F_core18256_Create, { documentType }),
7563
+ renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx69(F_core18256_Create, { documentType }),
7555
7564
  renderRowActions: ({ row }) => {
7556
7565
  return /* @__PURE__ */ jsxs39(MyCenterFull, { children: [
7557
- /* @__PURE__ */ jsx68(F_core18256_Update, { values: row.original }),
7558
- /* @__PURE__ */ jsx68(F_core18256_Delete, { id: row.original.id })
7566
+ /* @__PURE__ */ jsx69(F_core18256_Update, { values: row.original }),
7567
+ /* @__PURE__ */ jsx69(F_core18256_Delete, { id: row.original.id })
7559
7568
  ] });
7560
7569
  }
7561
7570
  }
@@ -7563,23 +7572,23 @@ function F_core18256_Read({ documentType }) {
7563
7572
  }
7564
7573
 
7565
7574
  // src/modules-features/admin/core/core18256/F_core18256.tsx
7566
- import { jsx as jsx69, jsxs as jsxs40 } from "react/jsx-runtime";
7575
+ import { jsx as jsx70, jsxs as jsxs40 } from "react/jsx-runtime";
7567
7576
  var tabData = [
7568
7577
  { label: "1. V\u0103n b\u1EA3n quy \u0111\u1ECBnh" },
7569
7578
  { label: "2. Quy tr\xECnh x\u1EED l\xFD c\xF4ng vi\u1EC7c" },
7570
7579
  { label: "3. Danh m\u1EE5c bi\u1EC3u m\u1EABu" }
7571
7580
  ];
7572
7581
  function F_core18256() {
7573
- return /* @__PURE__ */ jsx69(MyPageContent, { children: /* @__PURE__ */ jsxs40(MyTab, { tabList: tabData, children: [
7574
- /* @__PURE__ */ jsx69(Tabs2.Panel, { value: "1. V\u0103n b\u1EA3n quy \u0111\u1ECBnh", children: /* @__PURE__ */ jsx69(F_core18256_Read, { documentType: OBJECT_DOCUMENT_TYPES.Regulations }) }),
7575
- /* @__PURE__ */ jsx69(Tabs2.Panel, { value: "2. Quy tr\xECnh x\u1EED l\xFD c\xF4ng vi\u1EC7c", children: /* @__PURE__ */ jsx69(F_core18256_Read, { documentType: OBJECT_DOCUMENT_TYPES.Workflow }) }),
7576
- /* @__PURE__ */ jsx69(Tabs2.Panel, { value: "3. Danh m\u1EE5c bi\u1EC3u m\u1EABu", children: /* @__PURE__ */ jsx69(F_core18256_Read, { documentType: OBJECT_DOCUMENT_TYPES.Form }) })
7582
+ return /* @__PURE__ */ jsx70(MyPageContent, { children: /* @__PURE__ */ jsxs40(MyTab, { tabList: tabData, children: [
7583
+ /* @__PURE__ */ jsx70(Tabs2.Panel, { value: "1. V\u0103n b\u1EA3n quy \u0111\u1ECBnh", children: /* @__PURE__ */ jsx70(F_core18256_Read, { documentType: OBJECT_DOCUMENT_TYPES.Regulations }) }),
7584
+ /* @__PURE__ */ jsx70(Tabs2.Panel, { value: "2. Quy tr\xECnh x\u1EED l\xFD c\xF4ng vi\u1EC7c", children: /* @__PURE__ */ jsx70(F_core18256_Read, { documentType: OBJECT_DOCUMENT_TYPES.Workflow }) }),
7585
+ /* @__PURE__ */ jsx70(Tabs2.Panel, { value: "3. Danh m\u1EE5c bi\u1EC3u m\u1EABu", children: /* @__PURE__ */ jsx70(F_core18256_Read, { documentType: OBJECT_DOCUMENT_TYPES.Form }) })
7577
7586
  ] }) });
7578
7587
  }
7579
7588
 
7580
7589
  // src/modules-features/admin/core/core26965/F_core26965_Create.tsx
7581
7590
  import { useForm as useForm7 } from "@mantine/form";
7582
- import { jsx as jsx70, jsxs as jsxs41 } from "react/jsx-runtime";
7591
+ import { jsx as jsx71, jsxs as jsxs41 } from "react/jsx-runtime";
7583
7592
  function F_core26965_Create() {
7584
7593
  const form = useForm7({
7585
7594
  mode: "uncontrolled"
@@ -7593,12 +7602,12 @@ function F_core26965_Create() {
7593
7602
  })
7594
7603
  );
7595
7604
  }, children: [
7596
- /* @__PURE__ */ jsx70(MyTextInput, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))),
7597
- /* @__PURE__ */ jsx70(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))),
7598
- /* @__PURE__ */ jsx70(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))),
7599
- /* @__PURE__ */ jsx70(F_core18256_Select, __spreadValues({ label: "Lo\u1EA1i v\u0103n b\u1EA3n", documentTypeId: OBJECT_DOCUMENT_TYPES.Regulations }, form.getInputProps("documentAttributeId"))),
7600
- /* @__PURE__ */ jsx70(MyFileInput, __spreadValues({ label: "V\u0103n b\u1EA3n" }, form.getInputProps("file"))),
7601
- /* @__PURE__ */ jsx70(MyNumberInput, __spreadValues({ label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch" }, form.getInputProps("orderBy")))
7605
+ /* @__PURE__ */ jsx71(MyTextInput, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))),
7606
+ /* @__PURE__ */ jsx71(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))),
7607
+ /* @__PURE__ */ jsx71(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))),
7608
+ /* @__PURE__ */ jsx71(F_core18256_Select, __spreadValues({ label: "Lo\u1EA1i v\u0103n b\u1EA3n", documentTypeId: OBJECT_DOCUMENT_TYPES.Regulations }, form.getInputProps("documentAttributeId"))),
7609
+ /* @__PURE__ */ jsx71(MyFileInput, __spreadValues({ label: "V\u0103n b\u1EA3n" }, form.getInputProps("file"))),
7610
+ /* @__PURE__ */ jsx71(MyNumberInput, __spreadValues({ label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch" }, form.getInputProps("orderBy")))
7602
7611
  ] });
7603
7612
  }
7604
7613
 
@@ -7608,14 +7617,14 @@ import { useQuery as useQuery7 } from "@tanstack/react-query";
7608
7617
  import { useMemo as useMemo6 } from "react";
7609
7618
 
7610
7619
  // src/modules-features/admin/core/core26965/F_core26965_Delete.tsx
7611
- import { jsx as jsx71 } from "react/jsx-runtime";
7620
+ import { jsx as jsx72 } from "react/jsx-runtime";
7612
7621
  function F_core26965_Delete({ id }) {
7613
- return /* @__PURE__ */ jsx71(MyActionIconDelete, { onSubmit: async () => await baseAxios_default.post("/Document/delete", { id }) });
7622
+ return /* @__PURE__ */ jsx72(MyActionIconDelete, { onSubmit: async () => await baseAxios_default.post("/Document/delete", { id }) });
7614
7623
  }
7615
7624
 
7616
7625
  // src/modules-features/admin/core/core26965/F_core26965_Update.tsx
7617
7626
  import { useForm as useForm8 } from "@mantine/form";
7618
- import { jsx as jsx72, jsxs as jsxs42 } from "react/jsx-runtime";
7627
+ import { jsx as jsx73, jsxs as jsxs42 } from "react/jsx-runtime";
7619
7628
  function F_core26965_Update({ values }) {
7620
7629
  var _a;
7621
7630
  const form = useForm8({
@@ -7629,17 +7638,17 @@ function F_core26965_Update({ values }) {
7629
7638
  fileDetail: await utils_file_fileToAQDocumentType(values2.file)
7630
7639
  }));
7631
7640
  }, children: [
7632
- /* @__PURE__ */ jsx72(MyTextInput, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))),
7633
- /* @__PURE__ */ jsx72(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))),
7634
- /* @__PURE__ */ jsx72(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))),
7635
- /* @__PURE__ */ jsx72(F_core18256_Select, __spreadValues({ label: "Lo\u1EA1i v\u0103n b\u1EA3n", documentTypeId: OBJECT_DOCUMENT_TYPES.Regulations }, form.getInputProps("documentAttributeId"))),
7636
- /* @__PURE__ */ jsx72(MyFileInput, __spreadValues({ label: "V\u0103n b\u1EA3n" }, form.getInputProps("file"))),
7637
- /* @__PURE__ */ jsx72(MyNumberInput, __spreadValues({ label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch" }, form.getInputProps("orderBy")))
7641
+ /* @__PURE__ */ jsx73(MyTextInput, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))),
7642
+ /* @__PURE__ */ jsx73(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))),
7643
+ /* @__PURE__ */ jsx73(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))),
7644
+ /* @__PURE__ */ jsx73(F_core18256_Select, __spreadValues({ label: "Lo\u1EA1i v\u0103n b\u1EA3n", documentTypeId: OBJECT_DOCUMENT_TYPES.Regulations }, form.getInputProps("documentAttributeId"))),
7645
+ /* @__PURE__ */ jsx73(MyFileInput, __spreadValues({ label: "V\u0103n b\u1EA3n" }, form.getInputProps("file"))),
7646
+ /* @__PURE__ */ jsx73(MyNumberInput, __spreadValues({ label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch" }, form.getInputProps("orderBy")))
7638
7647
  ] });
7639
7648
  }
7640
7649
 
7641
7650
  // src/modules-features/admin/core/core26965/F_core26965_Read.tsx
7642
- import { jsx as jsx73, jsxs as jsxs43 } from "react/jsx-runtime";
7651
+ import { jsx as jsx74, jsxs as jsxs43 } from "react/jsx-runtime";
7643
7652
  function F_core26965_Read() {
7644
7653
  var _a, _b, _c;
7645
7654
  const documentAttributeQuery = useQuery7({
@@ -7652,11 +7661,11 @@ function F_core26965_Read() {
7652
7661
  });
7653
7662
  if (documentAttributeQuery.isLoading) return "Loading...";
7654
7663
  if (documentAttributeQuery.isError) return "c\xF3 l\u1ED7i x\u1EA3y ra!";
7655
- if (((_a = documentAttributeQuery.data) == null ? void 0 : _a.length) == 0) return /* @__PURE__ */ jsx73(Blockquote2, { color: "yellow", children: "Ch\u01B0a c\xF3 lo\u1EA1i v\u0103n b\u1EA3n" });
7656
- return /* @__PURE__ */ jsx73(MyFlexColumn, { children: /* @__PURE__ */ jsx73(Accordion2, { defaultValue: (_b = documentAttributeQuery.data) == null ? void 0 : _b.map((item) => {
7664
+ if (((_a = documentAttributeQuery.data) == null ? void 0 : _a.length) == 0) return /* @__PURE__ */ jsx74(Blockquote2, { color: "yellow", children: "Ch\u01B0a c\xF3 lo\u1EA1i v\u0103n b\u1EA3n" });
7665
+ return /* @__PURE__ */ jsx74(MyFlexColumn, { children: /* @__PURE__ */ jsx74(Accordion2, { defaultValue: (_b = documentAttributeQuery.data) == null ? void 0 : _b.map((item) => {
7657
7666
  var _a2;
7658
7667
  return (_a2 = item.id) == null ? void 0 : _a2.toString();
7659
- }), multiple: true, children: (_c = documentAttributeQuery.data) == null ? void 0 : _c.map((item, idx) => /* @__PURE__ */ jsx73(SubRead2, { name: item.name, documentType: item.id }, idx)) }) });
7668
+ }), multiple: true, children: (_c = documentAttributeQuery.data) == null ? void 0 : _c.map((item, idx) => /* @__PURE__ */ jsx74(SubRead2, { name: item.name, documentType: item.id }, idx)) }) });
7660
7669
  }
7661
7670
  function SubRead2({ name, documentType }) {
7662
7671
  const documentQuery = useQuery7({
@@ -7683,7 +7692,7 @@ function SubRead2({ name, documentType }) {
7683
7692
  {
7684
7693
  header: "File",
7685
7694
  accessorFn: (row) => {
7686
- return /* @__PURE__ */ jsx73(MyCenterFull, { children: /* @__PURE__ */ jsx73(MyButtonViewPDF, { id: row.id }) });
7695
+ return /* @__PURE__ */ jsx74(MyCenterFull, { children: /* @__PURE__ */ jsx74(MyButtonViewPDF, { id: row.id }) });
7687
7696
  }
7688
7697
  }
7689
7698
  ],
@@ -7692,15 +7701,15 @@ function SubRead2({ name, documentType }) {
7692
7701
  if (documentQuery.isLoading) return "Loading...";
7693
7702
  if (documentQuery.isError) return "Error!";
7694
7703
  return /* @__PURE__ */ jsxs43(Accordion2.Item, { value: documentType.toString(), children: [
7695
- /* @__PURE__ */ jsx73(Accordion2.Control, { children: name }),
7696
- /* @__PURE__ */ jsx73(Accordion2.Panel, { children: /* @__PURE__ */ jsx73(
7704
+ /* @__PURE__ */ jsx74(Accordion2.Control, { children: name }),
7705
+ /* @__PURE__ */ jsx74(Accordion2.Panel, { children: /* @__PURE__ */ jsx74(
7697
7706
  MyDataTable,
7698
7707
  {
7699
7708
  columns,
7700
7709
  data: documentQuery.data,
7701
7710
  renderRowActions: ({ row }) => /* @__PURE__ */ jsxs43(MyCenterFull, { children: [
7702
- /* @__PURE__ */ jsx73(F_core26965_Update, { values: row.original }),
7703
- /* @__PURE__ */ jsx73(F_core26965_Delete, { id: row.original.id })
7711
+ /* @__PURE__ */ jsx74(F_core26965_Update, { values: row.original }),
7712
+ /* @__PURE__ */ jsx74(F_core26965_Delete, { id: row.original.id })
7704
7713
  ] })
7705
7714
  }
7706
7715
  ) })
@@ -7708,14 +7717,14 @@ function SubRead2({ name, documentType }) {
7708
7717
  }
7709
7718
 
7710
7719
  // src/modules-features/admin/core/core26965/F_core26965.tsx
7711
- import { jsx as jsx74 } from "react/jsx-runtime";
7720
+ import { jsx as jsx75 } from "react/jsx-runtime";
7712
7721
  function F_core26965() {
7713
- return /* @__PURE__ */ jsx74(MyPageContent, { rightTopBar: /* @__PURE__ */ jsx74(F_core26965_Create, {}), children: /* @__PURE__ */ jsx74(F_core26965_Read, {}) });
7722
+ return /* @__PURE__ */ jsx75(MyPageContent, { rightTopBar: /* @__PURE__ */ jsx75(F_core26965_Create, {}), children: /* @__PURE__ */ jsx75(F_core26965_Read, {}) });
7714
7723
  }
7715
7724
 
7716
7725
  // src/modules-features/admin/core/core27311/F_core27311_Create.tsx
7717
7726
  import { useForm as useForm9 } from "@mantine/form";
7718
- import { jsx as jsx75, jsxs as jsxs44 } from "react/jsx-runtime";
7727
+ import { jsx as jsx76, jsxs as jsxs44 } from "react/jsx-runtime";
7719
7728
  function F_core27311_Create() {
7720
7729
  const form = useForm9({
7721
7730
  mode: "uncontrolled"
@@ -7729,12 +7738,12 @@ function F_core27311_Create() {
7729
7738
  })
7730
7739
  );
7731
7740
  }, children: [
7732
- /* @__PURE__ */ jsx75(MyTextInput, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))),
7733
- /* @__PURE__ */ jsx75(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))),
7734
- /* @__PURE__ */ jsx75(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))),
7735
- /* @__PURE__ */ jsx75(F_core18256_Select, __spreadValues({ label: "Lo\u1EA1i v\u0103n b\u1EA3n", documentTypeId: OBJECT_DOCUMENT_TYPES.Workflow }, form.getInputProps("documentAttributeId"))),
7736
- /* @__PURE__ */ jsx75(MyFileInput, __spreadValues({ label: "V\u0103n b\u1EA3n" }, form.getInputProps("file"))),
7737
- /* @__PURE__ */ jsx75(MyNumberInput, __spreadValues({ label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch" }, form.getInputProps("orderBy")))
7741
+ /* @__PURE__ */ jsx76(MyTextInput, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))),
7742
+ /* @__PURE__ */ jsx76(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))),
7743
+ /* @__PURE__ */ jsx76(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))),
7744
+ /* @__PURE__ */ jsx76(F_core18256_Select, __spreadValues({ label: "Lo\u1EA1i v\u0103n b\u1EA3n", documentTypeId: OBJECT_DOCUMENT_TYPES.Workflow }, form.getInputProps("documentAttributeId"))),
7745
+ /* @__PURE__ */ jsx76(MyFileInput, __spreadValues({ label: "V\u0103n b\u1EA3n" }, form.getInputProps("file"))),
7746
+ /* @__PURE__ */ jsx76(MyNumberInput, __spreadValues({ label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch" }, form.getInputProps("orderBy")))
7738
7747
  ] });
7739
7748
  }
7740
7749
 
@@ -7744,14 +7753,14 @@ import { useQuery as useQuery8 } from "@tanstack/react-query";
7744
7753
  import { useMemo as useMemo7 } from "react";
7745
7754
 
7746
7755
  // src/modules-features/admin/core/core27311/F_core27311_Delete.tsx
7747
- import { jsx as jsx76 } from "react/jsx-runtime";
7756
+ import { jsx as jsx77 } from "react/jsx-runtime";
7748
7757
  function F_core27311_Delete({ id }) {
7749
- return /* @__PURE__ */ jsx76(MyActionIconDelete, { onSubmit: async () => await baseAxios_default.post("/Document/delete", { id }) });
7758
+ return /* @__PURE__ */ jsx77(MyActionIconDelete, { onSubmit: async () => await baseAxios_default.post("/Document/delete", { id }) });
7750
7759
  }
7751
7760
 
7752
7761
  // src/modules-features/admin/core/core27311/F_core27311_Update.tsx
7753
7762
  import { useForm as useForm10 } from "@mantine/form";
7754
- import { jsx as jsx77, jsxs as jsxs45 } from "react/jsx-runtime";
7763
+ import { jsx as jsx78, jsxs as jsxs45 } from "react/jsx-runtime";
7755
7764
  function F_core27311_Update({ values }) {
7756
7765
  var _a;
7757
7766
  const form = useForm10({
@@ -7765,17 +7774,17 @@ function F_core27311_Update({ values }) {
7765
7774
  fileDetail: await utils_file_fileToAQDocumentType(values2.file)
7766
7775
  }));
7767
7776
  }, children: [
7768
- /* @__PURE__ */ jsx77(MyTextInput, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))),
7769
- /* @__PURE__ */ jsx77(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))),
7770
- /* @__PURE__ */ jsx77(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))),
7771
- /* @__PURE__ */ jsx77(F_core18256_Select, __spreadValues({ label: "Lo\u1EA1i v\u0103n b\u1EA3n", documentTypeId: OBJECT_DOCUMENT_TYPES.Regulations }, form.getInputProps("documentAttributeId"))),
7772
- /* @__PURE__ */ jsx77(MyFileInput, __spreadValues({ label: "V\u0103n b\u1EA3n" }, form.getInputProps("file"))),
7773
- /* @__PURE__ */ jsx77(MyNumberInput, __spreadValues({ label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch" }, form.getInputProps("orderBy")))
7777
+ /* @__PURE__ */ jsx78(MyTextInput, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))),
7778
+ /* @__PURE__ */ jsx78(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))),
7779
+ /* @__PURE__ */ jsx78(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))),
7780
+ /* @__PURE__ */ jsx78(F_core18256_Select, __spreadValues({ label: "Lo\u1EA1i v\u0103n b\u1EA3n", documentTypeId: OBJECT_DOCUMENT_TYPES.Regulations }, form.getInputProps("documentAttributeId"))),
7781
+ /* @__PURE__ */ jsx78(MyFileInput, __spreadValues({ label: "V\u0103n b\u1EA3n" }, form.getInputProps("file"))),
7782
+ /* @__PURE__ */ jsx78(MyNumberInput, __spreadValues({ label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch" }, form.getInputProps("orderBy")))
7774
7783
  ] });
7775
7784
  }
7776
7785
 
7777
7786
  // src/modules-features/admin/core/core27311/F_core27311_Read.tsx
7778
- import { jsx as jsx78, jsxs as jsxs46 } from "react/jsx-runtime";
7787
+ import { jsx as jsx79, jsxs as jsxs46 } from "react/jsx-runtime";
7779
7788
  function F_core27311_Read() {
7780
7789
  var _a, _b, _c;
7781
7790
  const documentAttributeQuery = useQuery8({
@@ -7788,11 +7797,11 @@ function F_core27311_Read() {
7788
7797
  });
7789
7798
  if (documentAttributeQuery.isLoading) return "Loading...";
7790
7799
  if (documentAttributeQuery.isError) return "c\xF3 l\u1ED7i x\u1EA3y ra!";
7791
- if (((_a = documentAttributeQuery.data) == null ? void 0 : _a.length) == 0) return /* @__PURE__ */ jsx78(Blockquote3, { color: "yellow", children: "Ch\u01B0a c\xF3 lo\u1EA1i v\u0103n b\u1EA3n" });
7792
- return /* @__PURE__ */ jsx78(MyFlexColumn, { children: /* @__PURE__ */ jsx78(Accordion3, { defaultValue: (_b = documentAttributeQuery.data) == null ? void 0 : _b.map((item) => {
7800
+ if (((_a = documentAttributeQuery.data) == null ? void 0 : _a.length) == 0) return /* @__PURE__ */ jsx79(Blockquote3, { color: "yellow", children: "Ch\u01B0a c\xF3 lo\u1EA1i v\u0103n b\u1EA3n" });
7801
+ return /* @__PURE__ */ jsx79(MyFlexColumn, { children: /* @__PURE__ */ jsx79(Accordion3, { defaultValue: (_b = documentAttributeQuery.data) == null ? void 0 : _b.map((item) => {
7793
7802
  var _a2;
7794
7803
  return (_a2 = item.id) == null ? void 0 : _a2.toString();
7795
- }), multiple: true, children: (_c = documentAttributeQuery.data) == null ? void 0 : _c.map((item, idx) => /* @__PURE__ */ jsx78(SubRead3, { name: item.name, documentType: item.id }, idx)) }) });
7804
+ }), multiple: true, children: (_c = documentAttributeQuery.data) == null ? void 0 : _c.map((item, idx) => /* @__PURE__ */ jsx79(SubRead3, { name: item.name, documentType: item.id }, idx)) }) });
7796
7805
  }
7797
7806
  function SubRead3({ name, documentType }) {
7798
7807
  const documentQuery = useQuery8({
@@ -7819,7 +7828,7 @@ function SubRead3({ name, documentType }) {
7819
7828
  {
7820
7829
  header: "File",
7821
7830
  accessorFn: (row) => {
7822
- return /* @__PURE__ */ jsx78(MyCenterFull, { children: /* @__PURE__ */ jsx78(MyButtonViewPDF, { id: row.id }) });
7831
+ return /* @__PURE__ */ jsx79(MyCenterFull, { children: /* @__PURE__ */ jsx79(MyButtonViewPDF, { id: row.id }) });
7823
7832
  }
7824
7833
  }
7825
7834
  ],
@@ -7828,15 +7837,15 @@ function SubRead3({ name, documentType }) {
7828
7837
  if (documentQuery.isLoading) return "Loading...";
7829
7838
  if (documentQuery.isError) return "Error!";
7830
7839
  return /* @__PURE__ */ jsxs46(Accordion3.Item, { value: documentType.toString(), children: [
7831
- /* @__PURE__ */ jsx78(Accordion3.Control, { children: name }),
7832
- /* @__PURE__ */ jsx78(Accordion3.Panel, { children: /* @__PURE__ */ jsx78(
7840
+ /* @__PURE__ */ jsx79(Accordion3.Control, { children: name }),
7841
+ /* @__PURE__ */ jsx79(Accordion3.Panel, { children: /* @__PURE__ */ jsx79(
7833
7842
  MyDataTable,
7834
7843
  {
7835
7844
  columns,
7836
7845
  data: documentQuery.data,
7837
7846
  renderRowActions: ({ row }) => /* @__PURE__ */ jsxs46(MyCenterFull, { children: [
7838
- /* @__PURE__ */ jsx78(F_core27311_Update, { values: row.original }),
7839
- /* @__PURE__ */ jsx78(F_core27311_Delete, { id: row.original.id })
7847
+ /* @__PURE__ */ jsx79(F_core27311_Update, { values: row.original }),
7848
+ /* @__PURE__ */ jsx79(F_core27311_Delete, { id: row.original.id })
7840
7849
  ] })
7841
7850
  }
7842
7851
  ) })
@@ -7844,9 +7853,9 @@ function SubRead3({ name, documentType }) {
7844
7853
  }
7845
7854
 
7846
7855
  // src/modules-features/admin/core/core27311/F_core27311.tsx
7847
- import { jsx as jsx79 } from "react/jsx-runtime";
7856
+ import { jsx as jsx80 } from "react/jsx-runtime";
7848
7857
  function F_core27311() {
7849
- return /* @__PURE__ */ jsx79(MyPageContent, { rightTopBar: /* @__PURE__ */ jsx79(F_core27311_Create, {}), children: /* @__PURE__ */ jsx79(F_core27311_Read, {}) });
7858
+ return /* @__PURE__ */ jsx80(MyPageContent, { rightTopBar: /* @__PURE__ */ jsx80(F_core27311_Create, {}), children: /* @__PURE__ */ jsx80(F_core27311_Read, {}) });
7850
7859
  }
7851
7860
 
7852
7861
  // src/modules-features/admin/core/core38677/F_core38677.tsx
@@ -7906,7 +7915,7 @@ function utils_core83092_mergePage(arr1, arr2) {
7906
7915
  }
7907
7916
 
7908
7917
  // src/modules-features/admin/core/core38677/F_core38677_ReadUser.tsx
7909
- import { jsx as jsx80 } from "react/jsx-runtime";
7918
+ import { jsx as jsx81 } from "react/jsx-runtime";
7910
7919
  function F_core38677_ReadUser() {
7911
7920
  const store = useS_core83092();
7912
7921
  const query = useQ_Account_GetAdminAccount();
@@ -7939,7 +7948,7 @@ function F_core38677_ReadUser() {
7939
7948
  }, [query.data]);
7940
7949
  if (query.isLoading) return "Loading...";
7941
7950
  if (query.isError) return "C\xF3 l\u1ED7i x\u1EA3y ra!";
7942
- return /* @__PURE__ */ jsx80(Container4, { fluid: true, children: /* @__PURE__ */ jsx80(
7951
+ return /* @__PURE__ */ jsx81(Container4, { fluid: true, children: /* @__PURE__ */ jsx81(
7943
7952
  MyDataTable,
7944
7953
  {
7945
7954
  columns,
@@ -7975,7 +7984,7 @@ function useQ_Account_GetAdminAccount() {
7975
7984
  // src/modules-features/admin/core/core38677/F_core38677_Save.tsx
7976
7985
  import { useMutation as useMutation5 } from "@tanstack/react-query";
7977
7986
  import { useEffect as useEffect7, useState as useState10 } from "react";
7978
- import { jsx as jsx81 } from "react/jsx-runtime";
7987
+ import { jsx as jsx82 } from "react/jsx-runtime";
7979
7988
  function F_core38677_Save() {
7980
7989
  const store = useS_core83092();
7981
7990
  const disable = useState10(false);
@@ -8004,7 +8013,7 @@ function F_core38677_Save() {
8004
8013
  }
8005
8014
  disable[1](false);
8006
8015
  }, [store.state.rolePermissions]);
8007
- return /* @__PURE__ */ jsx81(MyButton, { disabled: disable[0], crudType: "save", onClick: handleSave });
8016
+ return /* @__PURE__ */ jsx82(MyButton, { disabled: disable[0], crudType: "save", onClick: handleSave });
8008
8017
  }
8009
8018
 
8010
8019
  // src/data/menuData.ts
@@ -8146,7 +8155,7 @@ import { Checkbox as Checkbox3, Flex as Flex5, ScrollArea as ScrollArea5, Table
8146
8155
  import { IconEdit as IconEdit5, IconEyeUp, IconFileExport as IconFileExport2, IconPlus as IconPlus5, IconPrinter as IconPrinter3, IconTrash as IconTrash5 } from "@tabler/icons-react";
8147
8156
  import { useQuery as useQuery10 } from "@tanstack/react-query";
8148
8157
  import React2, { useEffect as useEffect8, useState as useState11 } from "react";
8149
- import { jsx as jsx82, jsxs as jsxs47 } from "react/jsx-runtime";
8158
+ import { jsx as jsx83, jsxs as jsxs47 } from "react/jsx-runtime";
8150
8159
  var title = "Danh s\xE1ch ch\u1EE9c n\u0103ng";
8151
8160
  function F_core38677_ViewMenuPermissions() {
8152
8161
  var _a, _b;
@@ -8161,8 +8170,8 @@ function F_core38677_ViewMenuPermissions() {
8161
8170
  store.setProperty("rolePermissions", query.data);
8162
8171
  }, [query.data]);
8163
8172
  if (((_a = list[0]) == null ? void 0 : _a.length) == 0) return "\u0110ang t\u1EA3i...";
8164
- return /* @__PURE__ */ jsx82(ScrollArea5.Autosize, { h: "70vh", children: /* @__PURE__ */ jsxs47(Table3, { children: [
8165
- /* @__PURE__ */ jsx82(
8173
+ return /* @__PURE__ */ jsx83(ScrollArea5.Autosize, { h: "70vh", children: /* @__PURE__ */ jsxs47(Table3, { children: [
8174
+ /* @__PURE__ */ jsx83(
8166
8175
  Table3.Thead,
8167
8176
  {
8168
8177
  bg: "light-dark(var(--mantine-color-white), var(--mantine-color-dark-8))",
@@ -8174,89 +8183,89 @@ function F_core38677_ViewMenuPermissions() {
8174
8183
  border: "1px solid var(--mantine-color-gray-4)"
8175
8184
  },
8176
8185
  children: /* @__PURE__ */ jsxs47(Table3.Tr, { children: [
8177
- /* @__PURE__ */ jsx82(Table3.Th, { children: title }),
8178
- /* @__PURE__ */ jsx82(Table3.Th, { children: /* @__PURE__ */ jsxs47(Flex5, { gap: 3, direction: "column", justify: "center", align: "center", children: [
8179
- /* @__PURE__ */ jsx82(Checkbox3, { checked: store.isAllPermission("isRead"), onChange: (e4) => {
8186
+ /* @__PURE__ */ jsx83(Table3.Th, { children: title }),
8187
+ /* @__PURE__ */ jsx83(Table3.Th, { children: /* @__PURE__ */ jsxs47(Flex5, { gap: 3, direction: "column", justify: "center", align: "center", children: [
8188
+ /* @__PURE__ */ jsx83(Checkbox3, { checked: store.isAllPermission("isRead"), onChange: (e4) => {
8180
8189
  store.toogleAllPermissionWithType("isRead", e4.target.checked);
8181
8190
  } }),
8182
8191
  /* @__PURE__ */ jsxs47(MyFlexRow, { gap: 3, children: [
8183
8192
  "Xem",
8184
- /* @__PURE__ */ jsx82(IconEyeUp, { color: "gray" })
8193
+ /* @__PURE__ */ jsx83(IconEyeUp, { color: "gray" })
8185
8194
  ] })
8186
8195
  ] }) }),
8187
- /* @__PURE__ */ jsx82(Table3.Th, { children: /* @__PURE__ */ jsxs47(Flex5, { gap: 3, direction: "column", justify: "center", align: "center", children: [
8188
- /* @__PURE__ */ jsx82(Checkbox3, { checked: store.isAllPermission("isCreate"), onChange: (e4) => {
8196
+ /* @__PURE__ */ jsx83(Table3.Th, { children: /* @__PURE__ */ jsxs47(Flex5, { gap: 3, direction: "column", justify: "center", align: "center", children: [
8197
+ /* @__PURE__ */ jsx83(Checkbox3, { checked: store.isAllPermission("isCreate"), onChange: (e4) => {
8189
8198
  store.toogleAllPermissionWithType("isCreate", e4.target.checked);
8190
8199
  } }),
8191
8200
  /* @__PURE__ */ jsxs47(MyFlexRow, { gap: 3, children: [
8192
8201
  "Th\xEAm",
8193
- /* @__PURE__ */ jsx82(IconPlus5, { color: "blue" })
8202
+ /* @__PURE__ */ jsx83(IconPlus5, { color: "blue" })
8194
8203
  ] })
8195
8204
  ] }) }),
8196
- /* @__PURE__ */ jsx82(Table3.Th, { children: /* @__PURE__ */ jsxs47(Flex5, { gap: 3, direction: "column", justify: "center", align: "center", children: [
8197
- /* @__PURE__ */ jsx82(Checkbox3, { checked: store.isAllPermission("isUpdate"), onChange: (e4) => {
8205
+ /* @__PURE__ */ jsx83(Table3.Th, { children: /* @__PURE__ */ jsxs47(Flex5, { gap: 3, direction: "column", justify: "center", align: "center", children: [
8206
+ /* @__PURE__ */ jsx83(Checkbox3, { checked: store.isAllPermission("isUpdate"), onChange: (e4) => {
8198
8207
  store.toogleAllPermissionWithType("isUpdate", e4.target.checked);
8199
8208
  } }),
8200
8209
  /* @__PURE__ */ jsxs47(MyFlexRow, { gap: 3, children: [
8201
8210
  "S\u1EEDa",
8202
- /* @__PURE__ */ jsx82(IconEdit5, { color: "var(--mantine-color-yellow-8)" })
8211
+ /* @__PURE__ */ jsx83(IconEdit5, { color: "var(--mantine-color-yellow-8)" })
8203
8212
  ] })
8204
8213
  ] }) }),
8205
- /* @__PURE__ */ jsx82(Table3.Th, { children: /* @__PURE__ */ jsxs47(Flex5, { gap: 3, direction: "column", justify: "center", align: "center", children: [
8206
- /* @__PURE__ */ jsx82(Checkbox3, { checked: store.isAllPermission("isDelete"), onChange: (e4) => {
8214
+ /* @__PURE__ */ jsx83(Table3.Th, { children: /* @__PURE__ */ jsxs47(Flex5, { gap: 3, direction: "column", justify: "center", align: "center", children: [
8215
+ /* @__PURE__ */ jsx83(Checkbox3, { checked: store.isAllPermission("isDelete"), onChange: (e4) => {
8207
8216
  store.toogleAllPermissionWithType("isDelete", e4.target.checked);
8208
8217
  } }),
8209
8218
  /* @__PURE__ */ jsxs47(MyFlexRow, { gap: 3, children: [
8210
8219
  "X\xF3a",
8211
- /* @__PURE__ */ jsx82(IconTrash5, { color: "var(--mantine-color-red-8)" })
8220
+ /* @__PURE__ */ jsx83(IconTrash5, { color: "var(--mantine-color-red-8)" })
8212
8221
  ] })
8213
8222
  ] }) }),
8214
- /* @__PURE__ */ jsx82(Table3.Th, { children: /* @__PURE__ */ jsxs47(Flex5, { gap: 3, direction: "column", justify: "center", align: "center", children: [
8215
- /* @__PURE__ */ jsx82(Checkbox3, { checked: store.isAllPermission("isPrint"), onChange: (e4) => {
8223
+ /* @__PURE__ */ jsx83(Table3.Th, { children: /* @__PURE__ */ jsxs47(Flex5, { gap: 3, direction: "column", justify: "center", align: "center", children: [
8224
+ /* @__PURE__ */ jsx83(Checkbox3, { checked: store.isAllPermission("isPrint"), onChange: (e4) => {
8216
8225
  store.toogleAllPermissionWithType("isPrint", e4.target.checked);
8217
8226
  } }),
8218
8227
  /* @__PURE__ */ jsxs47(MyFlexRow, { gap: 3, children: [
8219
8228
  "In",
8220
- /* @__PURE__ */ jsx82(IconPrinter3, { color: "var(--mantine-color-cyan-8)" })
8229
+ /* @__PURE__ */ jsx83(IconPrinter3, { color: "var(--mantine-color-cyan-8)" })
8221
8230
  ] })
8222
8231
  ] }) }),
8223
- /* @__PURE__ */ jsx82(Table3.Th, { children: /* @__PURE__ */ jsxs47(Flex5, { gap: 3, direction: "column", justify: "center", align: "center", children: [
8224
- /* @__PURE__ */ jsx82(Checkbox3, { checked: store.isAllPermission("isExport"), onChange: (e4) => {
8232
+ /* @__PURE__ */ jsx83(Table3.Th, { children: /* @__PURE__ */ jsxs47(Flex5, { gap: 3, direction: "column", justify: "center", align: "center", children: [
8233
+ /* @__PURE__ */ jsx83(Checkbox3, { checked: store.isAllPermission("isExport"), onChange: (e4) => {
8225
8234
  store.toogleAllPermissionWithType("isExport", e4.target.checked);
8226
8235
  } }),
8227
8236
  /* @__PURE__ */ jsxs47(MyFlexRow, { gap: 3, children: [
8228
8237
  "Xu\u1EA5t",
8229
- /* @__PURE__ */ jsx82(IconFileExport2, { color: "var(--mantine-color-green-8)" })
8238
+ /* @__PURE__ */ jsx83(IconFileExport2, { color: "var(--mantine-color-green-8)" })
8230
8239
  ] })
8231
8240
  ] }) })
8232
8241
  ] })
8233
8242
  }
8234
8243
  ),
8235
- /* @__PURE__ */ jsx82(Table3.Tbody, { bg: "light-dark(var(--mantine-color-white), var(--mantine-color-dark-8))", children: (_b = list[0]) == null ? void 0 : _b.map((item, idx) => {
8244
+ /* @__PURE__ */ jsx83(Table3.Tbody, { bg: "light-dark(var(--mantine-color-white), var(--mantine-color-dark-8))", children: (_b = list[0]) == null ? void 0 : _b.map((item, idx) => {
8236
8245
  if (item.links == void 0) return /* @__PURE__ */ jsxs47(Table3.Tr, { children: [
8237
- /* @__PURE__ */ jsx82(Table3.Td, { children: item.label }),
8238
- /* @__PURE__ */ jsx82(Table3.Td, { children: /* @__PURE__ */ jsx82(MyCenterFull, { children: /* @__PURE__ */ jsx82(Checkbox3, {}) }) }),
8239
- /* @__PURE__ */ jsx82(Table3.Td, { children: /* @__PURE__ */ jsx82(MyCenterFull, { children: /* @__PURE__ */ jsx82(Checkbox3, {}) }) }),
8240
- /* @__PURE__ */ jsx82(Table3.Td, { children: /* @__PURE__ */ jsx82(MyCenterFull, { children: /* @__PURE__ */ jsx82(Checkbox3, {}) }) }),
8241
- /* @__PURE__ */ jsx82(Table3.Td, { children: /* @__PURE__ */ jsx82(MyCenterFull, { children: /* @__PURE__ */ jsx82(Checkbox3, {}) }) }),
8242
- /* @__PURE__ */ jsx82(Table3.Td, { children: /* @__PURE__ */ jsx82(MyCenterFull, { children: /* @__PURE__ */ jsx82(Checkbox3, {}) }) }),
8243
- /* @__PURE__ */ jsx82(Table3.Td, { children: /* @__PURE__ */ jsx82(MyCenterFull, { children: /* @__PURE__ */ jsx82(Checkbox3, {}) }) })
8246
+ /* @__PURE__ */ jsx83(Table3.Td, { children: item.label }),
8247
+ /* @__PURE__ */ jsx83(Table3.Td, { children: /* @__PURE__ */ jsx83(MyCenterFull, { children: /* @__PURE__ */ jsx83(Checkbox3, {}) }) }),
8248
+ /* @__PURE__ */ jsx83(Table3.Td, { children: /* @__PURE__ */ jsx83(MyCenterFull, { children: /* @__PURE__ */ jsx83(Checkbox3, {}) }) }),
8249
+ /* @__PURE__ */ jsx83(Table3.Td, { children: /* @__PURE__ */ jsx83(MyCenterFull, { children: /* @__PURE__ */ jsx83(Checkbox3, {}) }) }),
8250
+ /* @__PURE__ */ jsx83(Table3.Td, { children: /* @__PURE__ */ jsx83(MyCenterFull, { children: /* @__PURE__ */ jsx83(Checkbox3, {}) }) }),
8251
+ /* @__PURE__ */ jsx83(Table3.Td, { children: /* @__PURE__ */ jsx83(MyCenterFull, { children: /* @__PURE__ */ jsx83(Checkbox3, {}) }) }),
8252
+ /* @__PURE__ */ jsx83(Table3.Td, { children: /* @__PURE__ */ jsx83(MyCenterFull, { children: /* @__PURE__ */ jsx83(Checkbox3, {}) }) })
8244
8253
  ] }, idx);
8245
8254
  return /* @__PURE__ */ jsxs47(React2.Fragment, { children: [
8246
- /* @__PURE__ */ jsx82(Table3.Tr, { children: /* @__PURE__ */ jsx82(
8255
+ /* @__PURE__ */ jsx83(Table3.Tr, { children: /* @__PURE__ */ jsx83(
8247
8256
  Table3.Td,
8248
8257
  {
8249
8258
  colSpan: 7,
8250
8259
  bg: OBJECT_COlORS.mantineBackgroundBlueLight,
8251
- children: /* @__PURE__ */ jsx82(Text13, { fs: "oblique", size: "sm", fw: "bold", children: item.label })
8260
+ children: /* @__PURE__ */ jsx83(Text13, { fs: "oblique", size: "sm", fw: "bold", children: item.label })
8252
8261
  }
8253
8262
  ) }, item.label),
8254
8263
  item.links.map(
8255
8264
  (item2, idx2) => {
8256
8265
  var _a2, _b2, _c, _d, _e, _f;
8257
8266
  return /* @__PURE__ */ jsxs47(Table3.Tr, { children: [
8258
- /* @__PURE__ */ jsx82(Table3.Td, { children: item2.label }),
8259
- /* @__PURE__ */ jsx82(Table3.Td, { children: /* @__PURE__ */ jsx82(MyCenterFull, { children: /* @__PURE__ */ jsx82(
8267
+ /* @__PURE__ */ jsx83(Table3.Td, { children: item2.label }),
8268
+ /* @__PURE__ */ jsx83(Table3.Td, { children: /* @__PURE__ */ jsx83(MyCenterFull, { children: /* @__PURE__ */ jsx83(
8260
8269
  Checkbox3,
8261
8270
  {
8262
8271
  checked: ((_a2 = store.findByPageId(item2.pageId)) == null ? void 0 : _a2.isRead) || false,
@@ -8267,7 +8276,7 @@ function F_core38677_ViewMenuPermissions() {
8267
8276
  }
8268
8277
  }
8269
8278
  ) }) }),
8270
- /* @__PURE__ */ jsx82(Table3.Td, { children: /* @__PURE__ */ jsx82(MyCenterFull, { children: /* @__PURE__ */ jsx82(
8279
+ /* @__PURE__ */ jsx83(Table3.Td, { children: /* @__PURE__ */ jsx83(MyCenterFull, { children: /* @__PURE__ */ jsx83(
8271
8280
  Checkbox3,
8272
8281
  {
8273
8282
  checked: ((_b2 = store.findByPageId(item2.pageId)) == null ? void 0 : _b2.isCreate) || false,
@@ -8278,7 +8287,7 @@ function F_core38677_ViewMenuPermissions() {
8278
8287
  }
8279
8288
  }
8280
8289
  ) }) }),
8281
- /* @__PURE__ */ jsx82(Table3.Td, { children: /* @__PURE__ */ jsx82(MyCenterFull, { children: /* @__PURE__ */ jsx82(
8290
+ /* @__PURE__ */ jsx83(Table3.Td, { children: /* @__PURE__ */ jsx83(MyCenterFull, { children: /* @__PURE__ */ jsx83(
8282
8291
  Checkbox3,
8283
8292
  {
8284
8293
  checked: ((_c = store.findByPageId(item2.pageId)) == null ? void 0 : _c.isUpdate) || false,
@@ -8289,7 +8298,7 @@ function F_core38677_ViewMenuPermissions() {
8289
8298
  }
8290
8299
  }
8291
8300
  ) }) }),
8292
- /* @__PURE__ */ jsx82(Table3.Td, { children: /* @__PURE__ */ jsx82(MyCenterFull, { children: /* @__PURE__ */ jsx82(
8301
+ /* @__PURE__ */ jsx83(Table3.Td, { children: /* @__PURE__ */ jsx83(MyCenterFull, { children: /* @__PURE__ */ jsx83(
8293
8302
  Checkbox3,
8294
8303
  {
8295
8304
  checked: ((_d = store.findByPageId(item2.pageId)) == null ? void 0 : _d.isDelete) || false,
@@ -8300,7 +8309,7 @@ function F_core38677_ViewMenuPermissions() {
8300
8309
  }
8301
8310
  }
8302
8311
  ) }) }),
8303
- /* @__PURE__ */ jsx82(Table3.Td, { children: /* @__PURE__ */ jsx82(MyCenterFull, { children: /* @__PURE__ */ jsx82(
8312
+ /* @__PURE__ */ jsx83(Table3.Td, { children: /* @__PURE__ */ jsx83(MyCenterFull, { children: /* @__PURE__ */ jsx83(
8304
8313
  Checkbox3,
8305
8314
  {
8306
8315
  checked: ((_e = store.findByPageId(item2.pageId)) == null ? void 0 : _e.isPrint) || false,
@@ -8311,7 +8320,7 @@ function F_core38677_ViewMenuPermissions() {
8311
8320
  }
8312
8321
  }
8313
8322
  ) }) }),
8314
- /* @__PURE__ */ jsx82(Table3.Td, { children: /* @__PURE__ */ jsx82(MyCenterFull, { children: /* @__PURE__ */ jsx82(
8323
+ /* @__PURE__ */ jsx83(Table3.Td, { children: /* @__PURE__ */ jsx83(MyCenterFull, { children: /* @__PURE__ */ jsx83(
8315
8324
  Checkbox3,
8316
8325
  {
8317
8326
  checked: ((_f = store.findByPageId(item2.pageId)) == null ? void 0 : _f.isExport) || false,
@@ -8367,7 +8376,7 @@ function useGetUserPermission() {
8367
8376
  }
8368
8377
 
8369
8378
  // src/modules-features/admin/core/core38677/F_core38677.tsx
8370
- import { jsx as jsx83, jsxs as jsxs48 } from "react/jsx-runtime";
8379
+ import { jsx as jsx84, jsxs as jsxs48 } from "react/jsx-runtime";
8371
8380
 
8372
8381
  // src/modules-features/admin/core/core40207/F_core40207_Read.tsx
8373
8382
  import { useQuery as useQuery11 } from "@tanstack/react-query";
@@ -8376,7 +8385,7 @@ import { useMemo as useMemo9 } from "react";
8376
8385
  // src/modules-features/admin/core/core40207/F_core40207_Create.tsx
8377
8386
  import { FileInput as FileInput6 } from "@mantine/core";
8378
8387
  import { useForm as useForm11 } from "@mantine/form";
8379
- import { jsx as jsx84, jsxs as jsxs49 } from "react/jsx-runtime";
8388
+ import { jsx as jsx85, jsxs as jsxs49 } from "react/jsx-runtime";
8380
8389
  function F_core40207_Create() {
8381
8390
  const form = useForm11({
8382
8391
  mode: "uncontrolled"
@@ -8391,22 +8400,22 @@ function F_core40207_Create() {
8391
8400
  })
8392
8401
  );
8393
8402
  }, children: [
8394
- /* @__PURE__ */ jsx84(MyTextInput, __spreadValues({ label: "M\xE3 t\xE0i li\u1EC7u" }, form.getInputProps("code"))),
8395
- /* @__PURE__ */ jsx84(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))),
8396
- /* @__PURE__ */ jsx84(FileInput6, __spreadValues({ label: "T\xE0i li\u1EC7u" }, form.getInputProps("file")))
8403
+ /* @__PURE__ */ jsx85(MyTextInput, __spreadValues({ label: "M\xE3 t\xE0i li\u1EC7u" }, form.getInputProps("code"))),
8404
+ /* @__PURE__ */ jsx85(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))),
8405
+ /* @__PURE__ */ jsx85(FileInput6, __spreadValues({ label: "T\xE0i li\u1EC7u" }, form.getInputProps("file")))
8397
8406
  ] });
8398
8407
  }
8399
8408
 
8400
8409
  // src/modules-features/admin/core/core40207/F_core40207_Delete.tsx
8401
- import { jsx as jsx85 } from "react/jsx-runtime";
8410
+ import { jsx as jsx86 } from "react/jsx-runtime";
8402
8411
  function F_core40207_Delete({ id }) {
8403
- return /* @__PURE__ */ jsx85(MyActionIconDelete, { onSubmit: () => baseAxios_default.post("/Document/delete", { id }) });
8412
+ return /* @__PURE__ */ jsx86(MyActionIconDelete, { onSubmit: () => baseAxios_default.post("/Document/delete", { id }) });
8404
8413
  }
8405
8414
 
8406
8415
  // src/modules-features/admin/core/core40207/F_core40207_Update.tsx
8407
8416
  import { FileInput as FileInput7 } from "@mantine/core";
8408
8417
  import { useForm as useForm12 } from "@mantine/form";
8409
- import { jsx as jsx86, jsxs as jsxs50 } from "react/jsx-runtime";
8418
+ import { jsx as jsx87, jsxs as jsxs50 } from "react/jsx-runtime";
8410
8419
  function F_core40207_Update({ values }) {
8411
8420
  var _a;
8412
8421
  const form = useForm12({
@@ -8421,14 +8430,14 @@ function F_core40207_Update({ values }) {
8421
8430
  fileDetail: await utils_file_fileToAQDocumentType(values2.file)
8422
8431
  }));
8423
8432
  }, children: [
8424
- /* @__PURE__ */ jsx86(MyTextInput, __spreadValues({ label: "M\xE3 t\xE0i li\u1EC7u" }, form.getInputProps("code"))),
8425
- /* @__PURE__ */ jsx86(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))),
8426
- /* @__PURE__ */ jsx86(FileInput7, __spreadValues({ label: "Ch\u1ECDn file" }, form.getInputProps("file")))
8433
+ /* @__PURE__ */ jsx87(MyTextInput, __spreadValues({ label: "M\xE3 t\xE0i li\u1EC7u" }, form.getInputProps("code"))),
8434
+ /* @__PURE__ */ jsx87(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))),
8435
+ /* @__PURE__ */ jsx87(FileInput7, __spreadValues({ label: "Ch\u1ECDn file" }, form.getInputProps("file")))
8427
8436
  ] });
8428
8437
  }
8429
8438
 
8430
8439
  // src/modules-features/admin/core/core40207/F_core40207_Read.tsx
8431
- import { jsx as jsx87, jsxs as jsxs51 } from "react/jsx-runtime";
8440
+ import { jsx as jsx88, jsxs as jsxs51 } from "react/jsx-runtime";
8432
8441
  function F_core40207_Read() {
8433
8442
  const query = useQuery11({
8434
8443
  queryKey: ["F_core40207_Read"],
@@ -8451,7 +8460,7 @@ function F_core40207_Read() {
8451
8460
  {
8452
8461
  header: "File",
8453
8462
  accessorFn: (row) => {
8454
- return /* @__PURE__ */ jsx87(MyCenterFull, { children: /* @__PURE__ */ jsx87(MyButtonViewPDF, { id: row.id }) });
8463
+ return /* @__PURE__ */ jsx88(MyCenterFull, { children: /* @__PURE__ */ jsx88(MyButtonViewPDF, { id: row.id }) });
8455
8464
  }
8456
8465
  }
8457
8466
  ],
@@ -8459,16 +8468,16 @@ function F_core40207_Read() {
8459
8468
  );
8460
8469
  if (query.isLoading) return "Loading...";
8461
8470
  if (query.isError) return "c\xF3 l\u1ED7i x\u1EA3y ra!";
8462
- return /* @__PURE__ */ jsx87(
8471
+ return /* @__PURE__ */ jsx88(
8463
8472
  MyDataTable,
8464
8473
  {
8465
8474
  columns,
8466
8475
  data: query.data,
8467
- renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx87(F_core40207_Create, {}),
8476
+ renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx88(F_core40207_Create, {}),
8468
8477
  renderRowActions: ({ row }) => {
8469
8478
  return /* @__PURE__ */ jsxs51(MyCenterFull, { children: [
8470
- /* @__PURE__ */ jsx87(F_core40207_Update, { values: row.original }),
8471
- /* @__PURE__ */ jsx87(F_core40207_Delete, { id: row.original.id })
8479
+ /* @__PURE__ */ jsx88(F_core40207_Update, { values: row.original }),
8480
+ /* @__PURE__ */ jsx88(F_core40207_Delete, { id: row.original.id })
8472
8481
  ] });
8473
8482
  }
8474
8483
  }
@@ -8476,9 +8485,9 @@ function F_core40207_Read() {
8476
8485
  }
8477
8486
 
8478
8487
  // src/modules-features/admin/core/core40207/F_core40207.tsx
8479
- import { jsx as jsx88 } from "react/jsx-runtime";
8488
+ import { jsx as jsx89 } from "react/jsx-runtime";
8480
8489
  function F_core40207() {
8481
- return /* @__PURE__ */ jsx88(MyPageContent, { children: /* @__PURE__ */ jsx88(F_core40207_Read, {}) });
8490
+ return /* @__PURE__ */ jsx89(MyPageContent, { children: /* @__PURE__ */ jsx89(F_core40207_Read, {}) });
8482
8491
  }
8483
8492
 
8484
8493
  // src/modules-features/admin/core/core47643/F_core47643_Read.tsx
@@ -8487,10 +8496,10 @@ import { useQuery as useQuery12 } from "@tanstack/react-query";
8487
8496
  import { useMemo as useMemo10 } from "react";
8488
8497
 
8489
8498
  // src/modules-features/admin/core/core47643/F_core47643_Delete.tsx
8490
- import { jsx as jsx89 } from "react/jsx-runtime";
8499
+ import { jsx as jsx90 } from "react/jsx-runtime";
8491
8500
  var ENDPOINT = "/Role/Delete";
8492
8501
  function F_core47643_Delete({ values }) {
8493
- return /* @__PURE__ */ jsx89(
8502
+ return /* @__PURE__ */ jsx90(
8494
8503
  MyActionIconDelete,
8495
8504
  {
8496
8505
  contextData: values.code,
@@ -8501,7 +8510,7 @@ function F_core47643_Delete({ values }) {
8501
8510
 
8502
8511
  // src/modules-features/admin/core/core47643/F_core47643_Form.tsx
8503
8512
  import { useForm as useForm13 } from "@mantine/form";
8504
- import { jsx as jsx90, jsxs as jsxs52 } from "react/jsx-runtime";
8513
+ import { jsx as jsx91, jsxs as jsxs52 } from "react/jsx-runtime";
8505
8514
  function F_core47643_Form({ values }) {
8506
8515
  const form = useForm13({
8507
8516
  mode: "uncontrolled",
@@ -8510,19 +8519,19 @@ function F_core47643_Form({ values }) {
8510
8519
  if (values) return /* @__PURE__ */ jsxs52(MyActionIconUpdate, { form, onSubmit: async () => {
8511
8520
  return await baseAxios_default.post("/Role/Update", form.getValues());
8512
8521
  }, children: [
8513
- /* @__PURE__ */ jsx90(MyTextInput, __spreadValues({ readOnly: true, variant: "filled", label: "M\xE3" }, form.getInputProps("code"))),
8514
- /* @__PURE__ */ jsx90(MyTextInput, __spreadValues({ label: "Quy\u1EC1n" }, form.getInputProps("name")))
8522
+ /* @__PURE__ */ jsx91(MyTextInput, __spreadValues({ readOnly: true, variant: "filled", label: "M\xE3" }, form.getInputProps("code"))),
8523
+ /* @__PURE__ */ jsx91(MyTextInput, __spreadValues({ label: "Quy\u1EC1n" }, form.getInputProps("name")))
8515
8524
  ] });
8516
8525
  return /* @__PURE__ */ jsxs52(MyButtonCreate, { form, onSubmit: async () => {
8517
8526
  return await baseAxios_default.post("/Role/Create", form.getValues());
8518
8527
  }, children: [
8519
- /* @__PURE__ */ jsx90(MyTextInput, __spreadValues({ label: "M\xE3" }, form.getInputProps("code"))),
8520
- /* @__PURE__ */ jsx90(MyTextInput, __spreadValues({ label: "Quy\u1EC1n" }, form.getInputProps("name")))
8528
+ /* @__PURE__ */ jsx91(MyTextInput, __spreadValues({ label: "M\xE3" }, form.getInputProps("code"))),
8529
+ /* @__PURE__ */ jsx91(MyTextInput, __spreadValues({ label: "Quy\u1EC1n" }, form.getInputProps("name")))
8521
8530
  ] });
8522
8531
  }
8523
8532
 
8524
8533
  // src/modules-features/admin/core/core47643/F_core47643_Read.tsx
8525
- import { jsx as jsx91, jsxs as jsxs53 } from "react/jsx-runtime";
8534
+ import { jsx as jsx92, jsxs as jsxs53 } from "react/jsx-runtime";
8526
8535
  function F_core47643_Read() {
8527
8536
  const query = useQ_core47643_GetAdminRole();
8528
8537
  const columns = useMemo10(() => [
@@ -8537,15 +8546,15 @@ function F_core47643_Read() {
8537
8546
  ], []);
8538
8547
  if (query.isLoading) return "\u0110ang t\u1EA3i d\u1EEF li\u1EC7u...";
8539
8548
  if (query.isError) return "C\xF3 l\u1ED7i x\u1EA3y ra!";
8540
- return /* @__PURE__ */ jsx91(
8549
+ return /* @__PURE__ */ jsx92(
8541
8550
  MyDataTable,
8542
8551
  {
8543
8552
  data: query.data,
8544
8553
  columns,
8545
- renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx91(Group15, { children: /* @__PURE__ */ jsx91(F_core47643_Form, {}) }),
8554
+ renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx92(Group15, { children: /* @__PURE__ */ jsx92(F_core47643_Form, {}) }),
8546
8555
  renderRowActions: ({ row }) => /* @__PURE__ */ jsxs53(MyCenterFull, { children: [
8547
- /* @__PURE__ */ jsx91(F_core47643_Form, { values: row.original }),
8548
- /* @__PURE__ */ jsx91(F_core47643_Delete, { values: row.original })
8556
+ /* @__PURE__ */ jsx92(F_core47643_Form, { values: row.original }),
8557
+ /* @__PURE__ */ jsx92(F_core47643_Delete, { values: row.original })
8549
8558
  ] })
8550
8559
  }
8551
8560
  );
@@ -8562,15 +8571,15 @@ function useQ_core47643_GetAdminRole() {
8562
8571
  }
8563
8572
 
8564
8573
  // src/modules-features/admin/core/core47643/F_core47643.tsx
8565
- import { jsx as jsx92 } from "react/jsx-runtime";
8574
+ import { jsx as jsx93 } from "react/jsx-runtime";
8566
8575
  function F_core47643() {
8567
- return /* @__PURE__ */ jsx92(MyPageContent, { title: "Danh m\u1EE5c quy\u1EC1n", canBack: true, children: /* @__PURE__ */ jsx92(F_core47643_Read, {}) });
8576
+ return /* @__PURE__ */ jsx93(MyPageContent, { title: "Danh m\u1EE5c quy\u1EC1n", canBack: true, children: /* @__PURE__ */ jsx93(F_core47643_Read, {}) });
8568
8577
  }
8569
8578
 
8570
8579
  // src/modules-features/admin/core/core64229/F_core64229_Delete.tsx
8571
- import { jsx as jsx93 } from "react/jsx-runtime";
8580
+ import { jsx as jsx94 } from "react/jsx-runtime";
8572
8581
  function F_core64229_Delete({ values }) {
8573
- return /* @__PURE__ */ jsx93(
8582
+ return /* @__PURE__ */ jsx94(
8574
8583
  MyActionIconDelete,
8575
8584
  {
8576
8585
  contextData: values == null ? void 0 : values.code,
@@ -8595,7 +8604,7 @@ var ENUM_EMAILCONFIG_MODULE = /* @__PURE__ */ ((ENUM_EMAILCONFIG_MODULE2) => {
8595
8604
  // src/modules-features/admin/core/core64229/F_core64229_Form.tsx
8596
8605
  import { PasswordInput } from "@mantine/core";
8597
8606
  import { useForm as useForm14 } from "@mantine/form";
8598
- import { jsx as jsx94, jsxs as jsxs54 } from "react/jsx-runtime";
8607
+ import { jsx as jsx95, jsxs as jsxs54 } from "react/jsx-runtime";
8599
8608
  function F_core64229_Form({ values }) {
8600
8609
  const form = useForm14({
8601
8610
  mode: "uncontrolled",
@@ -8621,27 +8630,27 @@ function F_core64229_Form({ values }) {
8621
8630
  "password": formValues.password
8622
8631
  });
8623
8632
  }
8624
- if (values) return /* @__PURE__ */ jsx94(
8633
+ if (values) return /* @__PURE__ */ jsx95(
8625
8634
  MyActionIconUpdate,
8626
8635
  {
8627
8636
  form,
8628
8637
  onSubmit: handleSubmit,
8629
- children: /* @__PURE__ */ jsx94(FormInput, { form })
8638
+ children: /* @__PURE__ */ jsx95(FormInput, { form })
8630
8639
  }
8631
8640
  );
8632
- return /* @__PURE__ */ jsx94(
8641
+ return /* @__PURE__ */ jsx95(
8633
8642
  MyButtonCreate,
8634
8643
  {
8635
8644
  form,
8636
8645
  onSubmit: handleSubmit,
8637
- children: /* @__PURE__ */ jsx94(FormInput, { form })
8646
+ children: /* @__PURE__ */ jsx95(FormInput, { form })
8638
8647
  }
8639
8648
  );
8640
8649
  }
8641
8650
  function FormInput({ form }) {
8642
8651
  var _a, _b;
8643
8652
  return /* @__PURE__ */ jsxs54(MyFlexColumn, { children: [
8644
- /* @__PURE__ */ jsx94(
8653
+ /* @__PURE__ */ jsx95(
8645
8654
  MySelect,
8646
8655
  __spreadProps(__spreadValues({
8647
8656
  label: "Ph\xE2n h\u1EC7",
@@ -8650,25 +8659,25 @@ function FormInput({ form }) {
8650
8659
  value: (_a = form.getValues().emailModule) == null ? void 0 : _a.toString()
8651
8660
  })
8652
8661
  ),
8653
- /* @__PURE__ */ jsx94(
8662
+ /* @__PURE__ */ jsx95(
8654
8663
  MyTextInput,
8655
8664
  __spreadValues({
8656
8665
  label: "Host mail server"
8657
8666
  }, form.getInputProps("hostMailServer"))
8658
8667
  ),
8659
- /* @__PURE__ */ jsx94(
8668
+ /* @__PURE__ */ jsx95(
8660
8669
  MyNumberInput,
8661
8670
  __spreadValues({
8662
8671
  label: "Outgoing port"
8663
8672
  }, form.getInputProps("outgoingPort"))
8664
8673
  ),
8665
- /* @__PURE__ */ jsx94(
8674
+ /* @__PURE__ */ jsx95(
8666
8675
  MyNumberInput,
8667
8676
  __spreadValues({
8668
8677
  label: "Incoming port"
8669
8678
  }, form.getInputProps("incomingPort"))
8670
8679
  ),
8671
- /* @__PURE__ */ jsx94(
8680
+ /* @__PURE__ */ jsx95(
8672
8681
  MySelect,
8673
8682
  {
8674
8683
  label: "SSL",
@@ -8677,13 +8686,13 @@ function FormInput({ form }) {
8677
8686
  onChange: (e4) => form.setFieldValue("sll", e4 == "true" ? true : false)
8678
8687
  }
8679
8688
  ),
8680
- /* @__PURE__ */ jsx94(
8689
+ /* @__PURE__ */ jsx95(
8681
8690
  MyTextInput,
8682
8691
  __spreadValues({
8683
8692
  label: "Username"
8684
8693
  }, form.getInputProps("userName"))
8685
8694
  ),
8686
- /* @__PURE__ */ jsx94(
8695
+ /* @__PURE__ */ jsx95(
8687
8696
  PasswordInput,
8688
8697
  __spreadValues({
8689
8698
  label: "Password",
@@ -8696,7 +8705,7 @@ function FormInput({ form }) {
8696
8705
  // src/modules-features/admin/core/core64229/F_core64229_Read.tsx
8697
8706
  import { useQuery as useQuery13 } from "@tanstack/react-query";
8698
8707
  import { useMemo as useMemo11 } from "react";
8699
- import { jsx as jsx95, jsxs as jsxs55 } from "react/jsx-runtime";
8708
+ import { jsx as jsx96, jsxs as jsxs55 } from "react/jsx-runtime";
8700
8709
  function F_core64229_Read() {
8701
8710
  const query = useQuery13({
8702
8711
  queryKey: ["F_core64229_Read"],
@@ -8741,15 +8750,15 @@ function F_core64229_Read() {
8741
8750
  }
8742
8751
  ], []);
8743
8752
  if (query.isLoading) return "\u0110ang t\u1EA3i";
8744
- return /* @__PURE__ */ jsx95(
8753
+ return /* @__PURE__ */ jsx96(
8745
8754
  MyDataTable,
8746
8755
  {
8747
8756
  columns,
8748
8757
  data: query.data,
8749
- renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx95(F_core64229_Form, {}),
8758
+ renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx96(F_core64229_Form, {}),
8750
8759
  renderRowActions: ({ row }) => /* @__PURE__ */ jsxs55(MyCenterFull, { children: [
8751
- /* @__PURE__ */ jsx95(F_core64229_Form, { values: row.original }),
8752
- /* @__PURE__ */ jsx95(F_core64229_Delete, { values: row.original })
8760
+ /* @__PURE__ */ jsx96(F_core64229_Form, { values: row.original }),
8761
+ /* @__PURE__ */ jsx96(F_core64229_Delete, { values: row.original })
8753
8762
  ] })
8754
8763
  }
8755
8764
  );
@@ -8767,7 +8776,7 @@ import { Button as Button16, Fieldset as Fieldset6, Group as Group16, Table as T
8767
8776
  import { useDisclosure as useDisclosure12 } from "@mantine/hooks";
8768
8777
  import { useMutation as useMutation6, useQuery as useQuery14, useQueryClient as useQueryClient5 } from "@tanstack/react-query";
8769
8778
  import { useEffect as useEffect9, useMemo as useMemo12, useState as useState12 } from "react";
8770
- import { jsx as jsx96, jsxs as jsxs56 } from "react/jsx-runtime";
8779
+ import { jsx as jsx97, jsxs as jsxs56 } from "react/jsx-runtime";
8771
8780
  function F_core71678_ChangePermission({ user }) {
8772
8781
  const disc = useDisclosure12();
8773
8782
  const queryClient = useQueryClient5();
@@ -8815,7 +8824,7 @@ function F_core71678_ChangePermission({ user }) {
8815
8824
  setRowSelection(result);
8816
8825
  }, []);
8817
8826
  return /* @__PURE__ */ jsxs56(MyButtonModal, { modalSize: "xl", disclosure: disc, title: "Ch\u1ECDn quy\u1EC1n cho ng\u01B0\u1EDDi d\xF9ng", label: "S\u1EEDa quy\u1EC1n", children: [
8818
- /* @__PURE__ */ jsx96(
8827
+ /* @__PURE__ */ jsx97(
8819
8828
  Table4,
8820
8829
  {
8821
8830
  w: "100%",
@@ -8823,23 +8832,23 @@ function F_core71678_ChangePermission({ user }) {
8823
8832
  layout: "fixed",
8824
8833
  children: /* @__PURE__ */ jsxs56(Table4.Tbody, { children: [
8825
8834
  /* @__PURE__ */ jsxs56(Table4.Tr, { children: [
8826
- /* @__PURE__ */ jsx96(Table4.Th, { w: 160, children: "H\u1ECD v\xE0 t\xEAn:" }),
8827
- /* @__PURE__ */ jsx96(Table4.Td, { children: user.fullName })
8835
+ /* @__PURE__ */ jsx97(Table4.Th, { w: 160, children: "H\u1ECD v\xE0 t\xEAn:" }),
8836
+ /* @__PURE__ */ jsx97(Table4.Td, { children: user.fullName })
8828
8837
  ] }),
8829
8838
  /* @__PURE__ */ jsxs56(Table4.Tr, { children: [
8830
- /* @__PURE__ */ jsx96(Table4.Th, { children: "T\xEAn \u0111\u0103ng nh\u1EADp:" }),
8831
- /* @__PURE__ */ jsx96(Table4.Td, { children: user.userName })
8839
+ /* @__PURE__ */ jsx97(Table4.Th, { children: "T\xEAn \u0111\u0103ng nh\u1EADp:" }),
8840
+ /* @__PURE__ */ jsx97(Table4.Td, { children: user.userName })
8832
8841
  ] }),
8833
8842
  /* @__PURE__ */ jsxs56(Table4.Tr, { children: [
8834
- /* @__PURE__ */ jsx96(Table4.Th, { children: "Email:" }),
8835
- /* @__PURE__ */ jsx96(Table4.Td, { children: user.email })
8843
+ /* @__PURE__ */ jsx97(Table4.Th, { children: "Email:" }),
8844
+ /* @__PURE__ */ jsx97(Table4.Td, { children: user.email })
8836
8845
  ] })
8837
8846
  ] })
8838
8847
  }
8839
8848
  ),
8840
8849
  query.isLoading && "\u0110ang t\u1EA3i d\u1EEF li\u1EC7u...",
8841
8850
  query.isError && "L\u1ED7i khi t\u1EA3i d\u1EEF li\u1EC7u...",
8842
- /* @__PURE__ */ jsx96(Fieldset6, { legend: "Ch\u1ECDn quy\u1EC1n", children: /* @__PURE__ */ jsx96(
8851
+ /* @__PURE__ */ jsx97(Fieldset6, { legend: "Ch\u1ECDn quy\u1EC1n", children: /* @__PURE__ */ jsx97(
8843
8852
  MyDataTable,
8844
8853
  {
8845
8854
  enableRowSelection: true,
@@ -8863,13 +8872,13 @@ function F_core71678_ChangePermission({ user }) {
8863
8872
  data: query.data
8864
8873
  }
8865
8874
  ) }),
8866
- /* @__PURE__ */ jsx96(Group16, { justify: "flex-end", mt: 24, children: /* @__PURE__ */ jsx96(Button16, { onClick: handleSave, children: "L\u01B0u" }) })
8875
+ /* @__PURE__ */ jsx97(Group16, { justify: "flex-end", mt: 24, children: /* @__PURE__ */ jsx97(Button16, { onClick: handleSave, children: "L\u01B0u" }) })
8867
8876
  ] });
8868
8877
  }
8869
8878
 
8870
8879
  // src/modules-features/admin/core/core71678/F_core71678_Create.tsx
8871
8880
  import { useForm as useForm15 } from "@mantine/form";
8872
- import { jsx as jsx97, jsxs as jsxs57 } from "react/jsx-runtime";
8881
+ import { jsx as jsx98, jsxs as jsxs57 } from "react/jsx-runtime";
8873
8882
  var ENDPOINT2 = "/Account/create";
8874
8883
  function F_core71678_Create() {
8875
8884
  const form = useForm15({
@@ -8898,20 +8907,20 @@ function F_core71678_Create() {
8898
8907
  }));
8899
8908
  }
8900
8909
  return /* @__PURE__ */ jsxs57(MyButtonCreate, { form, onSubmit: handleSubmit, objectName: "ng\u01B0\u1EDDi d\xF9ng", children: [
8901
- /* @__PURE__ */ jsx97(MyTextInput, __spreadValues({ label: "M\xE3 t\xE0i kho\u1EA3n" }, form.getInputProps("code"))),
8902
- /* @__PURE__ */ jsx97(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i kho\u1EA3n" }, form.getInputProps("userName"))),
8903
- /* @__PURE__ */ jsx97(MyTextInput, __spreadValues({ label: "M\u1EADt kh\u1EA9u" }, form.getInputProps("password"))),
8904
- /* @__PURE__ */ jsx97(MyTextInput, __spreadValues({ label: "H\u1ECD v\xE0 t\xEAn" }, form.getInputProps("fullName"))),
8905
- /* @__PURE__ */ jsx97(MyTextInput, __spreadValues({ label: "Email" }, form.getInputProps("email"))),
8906
- /* @__PURE__ */ jsx97(MyTextInput, __spreadValues({ label: "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i" }, form.getInputProps("phoneNumber")))
8910
+ /* @__PURE__ */ jsx98(MyTextInput, __spreadValues({ label: "M\xE3 t\xE0i kho\u1EA3n" }, form.getInputProps("code"))),
8911
+ /* @__PURE__ */ jsx98(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i kho\u1EA3n" }, form.getInputProps("userName"))),
8912
+ /* @__PURE__ */ jsx98(MyTextInput, __spreadValues({ label: "M\u1EADt kh\u1EA9u" }, form.getInputProps("password"))),
8913
+ /* @__PURE__ */ jsx98(MyTextInput, __spreadValues({ label: "H\u1ECD v\xE0 t\xEAn" }, form.getInputProps("fullName"))),
8914
+ /* @__PURE__ */ jsx98(MyTextInput, __spreadValues({ label: "Email" }, form.getInputProps("email"))),
8915
+ /* @__PURE__ */ jsx98(MyTextInput, __spreadValues({ label: "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i" }, form.getInputProps("phoneNumber")))
8907
8916
  ] });
8908
8917
  }
8909
8918
 
8910
8919
  // src/modules-features/admin/core/core71678/F_core71678_Delete.tsx
8911
- import { jsx as jsx98 } from "react/jsx-runtime";
8920
+ import { jsx as jsx99 } from "react/jsx-runtime";
8912
8921
  var ENDPOINT3 = "/Account/delete";
8913
8922
  function F_core71678_Delete({ id, code }) {
8914
- return /* @__PURE__ */ jsx98(
8923
+ return /* @__PURE__ */ jsx99(
8915
8924
  MyActionIconDelete,
8916
8925
  {
8917
8926
  contextData: code,
@@ -8923,7 +8932,7 @@ function F_core71678_Delete({ id, code }) {
8923
8932
  // src/modules-features/admin/core/core71678/F_core71678_Update.tsx
8924
8933
  import { useForm as useForm16 } from "@mantine/form";
8925
8934
  import { useEffect as useEffect10 } from "react";
8926
- import { jsx as jsx99, jsxs as jsxs58 } from "react/jsx-runtime";
8935
+ import { jsx as jsx100, jsxs as jsxs58 } from "react/jsx-runtime";
8927
8936
  function F_core71678_Update({ user }) {
8928
8937
  const form = useForm16({
8929
8938
  initialValues: user
@@ -8931,7 +8940,7 @@ function F_core71678_Update({ user }) {
8931
8940
  useEffect10(() => {
8932
8941
  console.log(form.values);
8933
8942
  }, [form.values]);
8934
- return /* @__PURE__ */ jsx99(MyActionIconUpdate, { form, onSubmit: async (values) => {
8943
+ return /* @__PURE__ */ jsx100(MyActionIconUpdate, { form, onSubmit: async (values) => {
8935
8944
  return await baseAxios_default.post(
8936
8945
  "/Account/update",
8937
8946
  __spreadProps(__spreadValues({}, values), {
@@ -8944,16 +8953,16 @@ function F_core71678_Update({ user }) {
8944
8953
  })
8945
8954
  );
8946
8955
  }, children: /* @__PURE__ */ jsxs58(MyFlexColumn, { children: [
8947
- /* @__PURE__ */ jsx99(MyTextInput, __spreadValues({ disabled: true, label: "M\xE3 t\xE0i kho\u1EA3n" }, form.getInputProps("code"))),
8948
- /* @__PURE__ */ jsx99(MyTextInput, __spreadValues({ disabled: true, label: "T\xEAn t\xE0i kho\u1EA3n" }, form.getInputProps("userName"))),
8949
- /* @__PURE__ */ jsx99(MyTextInput, __spreadValues({ label: "H\u1ECD v\xE0 t\xEAn" }, form.getInputProps("fullName"))),
8950
- /* @__PURE__ */ jsx99(MyTextInput, __spreadValues({ label: "Email" }, form.getInputProps("email"))),
8951
- /* @__PURE__ */ jsx99(MyTextInput, __spreadValues({ label: "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i" }, form.getInputProps("phoneNumber")))
8956
+ /* @__PURE__ */ jsx100(MyTextInput, __spreadValues({ disabled: true, label: "M\xE3 t\xE0i kho\u1EA3n" }, form.getInputProps("code"))),
8957
+ /* @__PURE__ */ jsx100(MyTextInput, __spreadValues({ disabled: true, label: "T\xEAn t\xE0i kho\u1EA3n" }, form.getInputProps("userName"))),
8958
+ /* @__PURE__ */ jsx100(MyTextInput, __spreadValues({ label: "H\u1ECD v\xE0 t\xEAn" }, form.getInputProps("fullName"))),
8959
+ /* @__PURE__ */ jsx100(MyTextInput, __spreadValues({ label: "Email" }, form.getInputProps("email"))),
8960
+ /* @__PURE__ */ jsx100(MyTextInput, __spreadValues({ label: "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i" }, form.getInputProps("phoneNumber")))
8952
8961
  ] }) });
8953
8962
  }
8954
8963
 
8955
8964
  // src/modules-features/admin/core/core71678/F_core71678_Read.tsx
8956
- import { jsx as jsx100, jsxs as jsxs59 } from "react/jsx-runtime";
8965
+ import { jsx as jsx101, jsxs as jsxs59 } from "react/jsx-runtime";
8957
8966
  var ENDPOINT4 = "/Account/GetAdminAccount";
8958
8967
  function F_core71678_Read() {
8959
8968
  const router = useRouter3();
@@ -8985,25 +8994,25 @@ function F_core71678_Read() {
8985
8994
  },
8986
8995
  {
8987
8996
  header: "Quy\u1EC1n",
8988
- accessorFn: (row) => /* @__PURE__ */ jsx100(F_core71678_ChangePermission, { user: row })
8997
+ accessorFn: (row) => /* @__PURE__ */ jsx101(F_core71678_ChangePermission, { user: row })
8989
8998
  }
8990
8999
  ],
8991
9000
  []
8992
9001
  );
8993
9002
  if (AllUserQuery.isLoading) return "Loading...";
8994
- return /* @__PURE__ */ jsx100(
9003
+ return /* @__PURE__ */ jsx101(
8995
9004
  MyDataTable,
8996
9005
  {
8997
9006
  columns,
8998
9007
  data: AllUserQuery.data,
8999
9008
  renderTopToolbarCustomActions: () => {
9000
9009
  return /* @__PURE__ */ jsxs59(Group17, { children: [
9001
- /* @__PURE__ */ jsx100(F_core71678_Create, {}),
9002
- /* @__PURE__ */ jsx100(
9010
+ /* @__PURE__ */ jsx101(F_core71678_Create, {}),
9011
+ /* @__PURE__ */ jsx101(
9003
9012
  Button17,
9004
9013
  {
9005
9014
  color: "violet",
9006
- leftSection: /* @__PURE__ */ jsx100(IconShield, {}),
9015
+ leftSection: /* @__PURE__ */ jsx101(IconShield, {}),
9007
9016
  onClick: () => {
9008
9017
  router.push("core47643");
9009
9018
  },
@@ -9014,8 +9023,8 @@ function F_core71678_Read() {
9014
9023
  },
9015
9024
  renderRowActions: ({ row }) => {
9016
9025
  return /* @__PURE__ */ jsxs59(MyCenterFull, { children: [
9017
- /* @__PURE__ */ jsx100(F_core71678_Update, { user: row.original }),
9018
- /* @__PURE__ */ jsx100(F_core71678_Delete, { id: row.original.id, code: row.original.code })
9026
+ /* @__PURE__ */ jsx101(F_core71678_Update, { user: row.original }),
9027
+ /* @__PURE__ */ jsx101(F_core71678_Delete, { id: row.original.id, code: row.original.code })
9019
9028
  ] });
9020
9029
  }
9021
9030
  }
@@ -9023,7 +9032,7 @@ function F_core71678_Read() {
9023
9032
  }
9024
9033
 
9025
9034
  // src/modules-features/admin/core/core71678/F_core71678.tsx
9026
- import { jsx as jsx101 } from "react/jsx-runtime";
9035
+ import { jsx as jsx102 } from "react/jsx-runtime";
9027
9036
 
9028
9037
  // src/modules-features/admin/core/core76318/F_core76318_Read.tsx
9029
9038
  import { useQuery as useQuery16 } from "@tanstack/react-query";
@@ -9032,7 +9041,7 @@ import { useMemo as useMemo14 } from "react";
9032
9041
  // src/modules-features/admin/core/core76318/F_core76318_Create.tsx
9033
9042
  import { FileInput as FileInput8 } from "@mantine/core";
9034
9043
  import { useForm as useForm17 } from "@mantine/form";
9035
- import { jsx as jsx102, jsxs as jsxs60 } from "react/jsx-runtime";
9044
+ import { jsx as jsx103, jsxs as jsxs60 } from "react/jsx-runtime";
9036
9045
  function F_core76318_Create() {
9037
9046
  const form = useForm17({
9038
9047
  mode: "uncontrolled"
@@ -9047,23 +9056,23 @@ function F_core76318_Create() {
9047
9056
  })
9048
9057
  );
9049
9058
  }, children: [
9050
- /* @__PURE__ */ jsx102(MyTextInput, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))),
9051
- /* @__PURE__ */ jsx102(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))),
9052
- /* @__PURE__ */ jsx102(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))),
9053
- /* @__PURE__ */ jsx102(FileInput8, __spreadValues({ label: "T\xE0i li\u1EC7u" }, form.getInputProps("file")))
9059
+ /* @__PURE__ */ jsx103(MyTextInput, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))),
9060
+ /* @__PURE__ */ jsx103(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))),
9061
+ /* @__PURE__ */ jsx103(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))),
9062
+ /* @__PURE__ */ jsx103(FileInput8, __spreadValues({ label: "T\xE0i li\u1EC7u" }, form.getInputProps("file")))
9054
9063
  ] });
9055
9064
  }
9056
9065
 
9057
9066
  // src/modules-features/admin/core/core76318/F_core76318_Delete.tsx
9058
- import { jsx as jsx103 } from "react/jsx-runtime";
9067
+ import { jsx as jsx104 } from "react/jsx-runtime";
9059
9068
  function F_core76318_Delete({ id }) {
9060
- return /* @__PURE__ */ jsx103(MyActionIconDelete, { onSubmit: () => baseAxios_default.post("/Document/delete", { id }) });
9069
+ return /* @__PURE__ */ jsx104(MyActionIconDelete, { onSubmit: () => baseAxios_default.post("/Document/delete", { id }) });
9061
9070
  }
9062
9071
 
9063
9072
  // src/modules-features/admin/core/core76318/F_core76318_Update.tsx
9064
9073
  import { FileInput as FileInput9, TextInput as TextInput5 } from "@mantine/core";
9065
9074
  import { useForm as useForm18 } from "@mantine/form";
9066
- import { jsx as jsx104, jsxs as jsxs61 } from "react/jsx-runtime";
9075
+ import { jsx as jsx105, jsxs as jsxs61 } from "react/jsx-runtime";
9067
9076
  function F_core76318_Update({ values }) {
9068
9077
  var _a;
9069
9078
  const form = useForm18({
@@ -9078,18 +9087,18 @@ function F_core76318_Update({ values }) {
9078
9087
  fileDetail: await utils_file_fileToAQDocumentType(values2.file)
9079
9088
  }));
9080
9089
  }, children: [
9081
- /* @__PURE__ */ jsx104(TextInput5, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))),
9082
- /* @__PURE__ */ jsx104(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))),
9083
- /* @__PURE__ */ jsx104(TextInput5, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))),
9084
- /* @__PURE__ */ jsx104(FileInput9, __spreadValues({ label: "Ch\u1ECDn file" }, form.getInputProps("file")))
9090
+ /* @__PURE__ */ jsx105(TextInput5, __spreadValues({ label: "S\u1ED1 quy \u0111\u1ECBnh" }, form.getInputProps("decisionCode"))),
9091
+ /* @__PURE__ */ jsx105(MyDateInput, __spreadValues({ label: "Ng\xE0y ban h\xE0nh" }, form.getInputProps("promulgateDate"))),
9092
+ /* @__PURE__ */ jsx105(TextInput5, __spreadValues({ label: "T\xEAn t\xE0i li\u1EC7u" }, form.getInputProps("name"))),
9093
+ /* @__PURE__ */ jsx105(FileInput9, __spreadValues({ label: "Ch\u1ECDn file" }, form.getInputProps("file")))
9085
9094
  ] });
9086
9095
  }
9087
9096
 
9088
9097
  // src/modules-features/admin/core/core76318/F_core76318_Read.tsx
9089
- import { jsx as jsx105, jsxs as jsxs62 } from "react/jsx-runtime";
9098
+ import { jsx as jsx106, jsxs as jsxs62 } from "react/jsx-runtime";
9090
9099
 
9091
9100
  // src/modules-features/admin/core/core76318/F_core76318.tsx
9092
- import { jsx as jsx106 } from "react/jsx-runtime";
9101
+ import { jsx as jsx107 } from "react/jsx-runtime";
9093
9102
 
9094
9103
  // src/modules-features/admin/core/core83092/F_core83092.tsx
9095
9104
  import { Grid as Grid2, Paper as Paper7, ScrollArea as ScrollArea8 } from "@mantine/core";
@@ -9098,7 +9107,7 @@ import { Grid as Grid2, Paper as Paper7, ScrollArea as ScrollArea8 } from "@mant
9098
9107
  import { Container as Container5 } from "@mantine/core";
9099
9108
  import { useQuery as useQuery17 } from "@tanstack/react-query";
9100
9109
  import { useEffect as useEffect11, useMemo as useMemo15, useState as useState14 } from "react";
9101
- import { jsx as jsx107 } from "react/jsx-runtime";
9110
+ import { jsx as jsx108 } from "react/jsx-runtime";
9102
9111
  function F_core83092_ReadUser() {
9103
9112
  const store = useS_core83092();
9104
9113
  const query = useQ_core83092_Account_GetAdminAccount();
@@ -9131,7 +9140,7 @@ function F_core83092_ReadUser() {
9131
9140
  }, [query.data]);
9132
9141
  if (query.isLoading) return "Loading...";
9133
9142
  if (query.isError) return "C\xF3 l\u1ED7i x\u1EA3y ra!";
9134
- return /* @__PURE__ */ jsx107(Container5, { fluid: true, w: "100%", children: /* @__PURE__ */ jsx107(
9143
+ return /* @__PURE__ */ jsx108(Container5, { fluid: true, w: "100%", children: /* @__PURE__ */ jsx108(
9135
9144
  MyDataTable,
9136
9145
  {
9137
9146
  columns,
@@ -9167,7 +9176,7 @@ function useQ_core83092_Account_GetAdminAccount() {
9167
9176
  // src/modules-features/admin/core/core83092/F_core83092_Save.tsx
9168
9177
  import { useMutation as useMutation7 } from "@tanstack/react-query";
9169
9178
  import { useEffect as useEffect12, useState as useState15 } from "react";
9170
- import { jsx as jsx108 } from "react/jsx-runtime";
9179
+ import { jsx as jsx109 } from "react/jsx-runtime";
9171
9180
  function F_core83092_Save() {
9172
9181
  const store = useS_core83092();
9173
9182
  const disable = useState15(false);
@@ -9196,7 +9205,7 @@ function F_core83092_Save() {
9196
9205
  }
9197
9206
  disable[1](false);
9198
9207
  }, [store.state.rolePermissions]);
9199
- return /* @__PURE__ */ jsx108(MyButton, { disabled: disable[0], crudType: "save", onClick: handleSave });
9208
+ return /* @__PURE__ */ jsx109(MyButton, { disabled: disable[0], crudType: "save", onClick: handleSave });
9200
9209
  }
9201
9210
 
9202
9211
  // src/modules-features/admin/core/core83092/F_core83092_ViewMenuPermissions.tsx
@@ -9204,7 +9213,7 @@ import { Checkbox as Checkbox4, Flex as Flex6, ScrollArea as ScrollArea7, Table
9204
9213
  import { IconEdit as IconEdit6, IconEyeUp as IconEyeUp2, IconFileExport as IconFileExport3, IconPlus as IconPlus6, IconPrinter as IconPrinter4, IconTrash as IconTrash6 } from "@tabler/icons-react";
9205
9214
  import { useQuery as useQuery18 } from "@tanstack/react-query";
9206
9215
  import React4, { useEffect as useEffect13, useState as useState16 } from "react";
9207
- import { jsx as jsx109, jsxs as jsxs63 } from "react/jsx-runtime";
9216
+ import { jsx as jsx110, jsxs as jsxs63 } from "react/jsx-runtime";
9208
9217
  var title2 = "Danh s\xE1ch ch\u1EE9c n\u0103ng";
9209
9218
  function F_core83092_ViewMenuPermissions() {
9210
9219
  var _a, _b;
@@ -9219,8 +9228,8 @@ function F_core83092_ViewMenuPermissions() {
9219
9228
  store.setProperty("rolePermissions", query.data);
9220
9229
  }, [query.data]);
9221
9230
  if (((_a = list[0]) == null ? void 0 : _a.length) == 0) return "\u0110ang t\u1EA3i...";
9222
- return /* @__PURE__ */ jsx109(ScrollArea7.Autosize, { h: "70vh", children: /* @__PURE__ */ jsxs63(Table5, { children: [
9223
- /* @__PURE__ */ jsx109(
9231
+ return /* @__PURE__ */ jsx110(ScrollArea7.Autosize, { h: "70vh", children: /* @__PURE__ */ jsxs63(Table5, { children: [
9232
+ /* @__PURE__ */ jsx110(
9224
9233
  Table5.Thead,
9225
9234
  {
9226
9235
  bg: "light-dark(var(--mantine-color-white), var(--mantine-color-dark-8))",
@@ -9232,89 +9241,89 @@ function F_core83092_ViewMenuPermissions() {
9232
9241
  border: "1px solid var(--mantine-color-gray-4)"
9233
9242
  },
9234
9243
  children: /* @__PURE__ */ jsxs63(Table5.Tr, { children: [
9235
- /* @__PURE__ */ jsx109(Table5.Th, { children: title2 }),
9236
- /* @__PURE__ */ jsx109(Table5.Th, { children: /* @__PURE__ */ jsxs63(Flex6, { gap: 3, direction: "column", justify: "center", align: "center", children: [
9237
- /* @__PURE__ */ jsx109(Checkbox4, { checked: store.isAllPermission("isRead"), onChange: (e4) => {
9244
+ /* @__PURE__ */ jsx110(Table5.Th, { children: title2 }),
9245
+ /* @__PURE__ */ jsx110(Table5.Th, { children: /* @__PURE__ */ jsxs63(Flex6, { gap: 3, direction: "column", justify: "center", align: "center", children: [
9246
+ /* @__PURE__ */ jsx110(Checkbox4, { checked: store.isAllPermission("isRead"), onChange: (e4) => {
9238
9247
  store.toogleAllPermissionWithType("isRead", e4.target.checked);
9239
9248
  } }),
9240
9249
  /* @__PURE__ */ jsxs63(MyFlexRow, { gap: 3, children: [
9241
9250
  "Xem",
9242
- /* @__PURE__ */ jsx109(IconEyeUp2, { color: "gray" })
9251
+ /* @__PURE__ */ jsx110(IconEyeUp2, { color: "gray" })
9243
9252
  ] })
9244
9253
  ] }) }),
9245
- /* @__PURE__ */ jsx109(Table5.Th, { children: /* @__PURE__ */ jsxs63(Flex6, { gap: 3, direction: "column", justify: "center", align: "center", children: [
9246
- /* @__PURE__ */ jsx109(Checkbox4, { checked: store.isAllPermission("isCreate"), onChange: (e4) => {
9254
+ /* @__PURE__ */ jsx110(Table5.Th, { children: /* @__PURE__ */ jsxs63(Flex6, { gap: 3, direction: "column", justify: "center", align: "center", children: [
9255
+ /* @__PURE__ */ jsx110(Checkbox4, { checked: store.isAllPermission("isCreate"), onChange: (e4) => {
9247
9256
  store.toogleAllPermissionWithType("isCreate", e4.target.checked);
9248
9257
  } }),
9249
9258
  /* @__PURE__ */ jsxs63(MyFlexRow, { gap: 3, children: [
9250
9259
  "Th\xEAm",
9251
- /* @__PURE__ */ jsx109(IconPlus6, { color: "blue" })
9260
+ /* @__PURE__ */ jsx110(IconPlus6, { color: "blue" })
9252
9261
  ] })
9253
9262
  ] }) }),
9254
- /* @__PURE__ */ jsx109(Table5.Th, { children: /* @__PURE__ */ jsxs63(Flex6, { gap: 3, direction: "column", justify: "center", align: "center", children: [
9255
- /* @__PURE__ */ jsx109(Checkbox4, { checked: store.isAllPermission("isUpdate"), onChange: (e4) => {
9263
+ /* @__PURE__ */ jsx110(Table5.Th, { children: /* @__PURE__ */ jsxs63(Flex6, { gap: 3, direction: "column", justify: "center", align: "center", children: [
9264
+ /* @__PURE__ */ jsx110(Checkbox4, { checked: store.isAllPermission("isUpdate"), onChange: (e4) => {
9256
9265
  store.toogleAllPermissionWithType("isUpdate", e4.target.checked);
9257
9266
  } }),
9258
9267
  /* @__PURE__ */ jsxs63(MyFlexRow, { gap: 3, children: [
9259
9268
  "S\u1EEDa",
9260
- /* @__PURE__ */ jsx109(IconEdit6, { color: "var(--mantine-color-yellow-8)" })
9269
+ /* @__PURE__ */ jsx110(IconEdit6, { color: "var(--mantine-color-yellow-8)" })
9261
9270
  ] })
9262
9271
  ] }) }),
9263
- /* @__PURE__ */ jsx109(Table5.Th, { children: /* @__PURE__ */ jsxs63(Flex6, { gap: 3, direction: "column", justify: "center", align: "center", children: [
9264
- /* @__PURE__ */ jsx109(Checkbox4, { checked: store.isAllPermission("isDelete"), onChange: (e4) => {
9272
+ /* @__PURE__ */ jsx110(Table5.Th, { children: /* @__PURE__ */ jsxs63(Flex6, { gap: 3, direction: "column", justify: "center", align: "center", children: [
9273
+ /* @__PURE__ */ jsx110(Checkbox4, { checked: store.isAllPermission("isDelete"), onChange: (e4) => {
9265
9274
  store.toogleAllPermissionWithType("isDelete", e4.target.checked);
9266
9275
  } }),
9267
9276
  /* @__PURE__ */ jsxs63(MyFlexRow, { gap: 3, children: [
9268
9277
  "X\xF3a",
9269
- /* @__PURE__ */ jsx109(IconTrash6, { color: "var(--mantine-color-red-8)" })
9278
+ /* @__PURE__ */ jsx110(IconTrash6, { color: "var(--mantine-color-red-8)" })
9270
9279
  ] })
9271
9280
  ] }) }),
9272
- /* @__PURE__ */ jsx109(Table5.Th, { children: /* @__PURE__ */ jsxs63(Flex6, { gap: 3, direction: "column", justify: "center", align: "center", children: [
9273
- /* @__PURE__ */ jsx109(Checkbox4, { checked: store.isAllPermission("isPrint"), onChange: (e4) => {
9281
+ /* @__PURE__ */ jsx110(Table5.Th, { children: /* @__PURE__ */ jsxs63(Flex6, { gap: 3, direction: "column", justify: "center", align: "center", children: [
9282
+ /* @__PURE__ */ jsx110(Checkbox4, { checked: store.isAllPermission("isPrint"), onChange: (e4) => {
9274
9283
  store.toogleAllPermissionWithType("isPrint", e4.target.checked);
9275
9284
  } }),
9276
9285
  /* @__PURE__ */ jsxs63(MyFlexRow, { gap: 3, children: [
9277
9286
  "In",
9278
- /* @__PURE__ */ jsx109(IconPrinter4, { color: "var(--mantine-color-cyan-8)" })
9287
+ /* @__PURE__ */ jsx110(IconPrinter4, { color: "var(--mantine-color-cyan-8)" })
9279
9288
  ] })
9280
9289
  ] }) }),
9281
- /* @__PURE__ */ jsx109(Table5.Th, { children: /* @__PURE__ */ jsxs63(Flex6, { gap: 3, direction: "column", justify: "center", align: "center", children: [
9282
- /* @__PURE__ */ jsx109(Checkbox4, { checked: store.isAllPermission("isExport"), onChange: (e4) => {
9290
+ /* @__PURE__ */ jsx110(Table5.Th, { children: /* @__PURE__ */ jsxs63(Flex6, { gap: 3, direction: "column", justify: "center", align: "center", children: [
9291
+ /* @__PURE__ */ jsx110(Checkbox4, { checked: store.isAllPermission("isExport"), onChange: (e4) => {
9283
9292
  store.toogleAllPermissionWithType("isExport", e4.target.checked);
9284
9293
  } }),
9285
9294
  /* @__PURE__ */ jsxs63(MyFlexRow, { gap: 3, children: [
9286
9295
  "Xu\u1EA5t",
9287
- /* @__PURE__ */ jsx109(IconFileExport3, { color: "var(--mantine-color-green-8)" })
9296
+ /* @__PURE__ */ jsx110(IconFileExport3, { color: "var(--mantine-color-green-8)" })
9288
9297
  ] })
9289
9298
  ] }) })
9290
9299
  ] })
9291
9300
  }
9292
9301
  ),
9293
- /* @__PURE__ */ jsx109(Table5.Tbody, { bg: "light-dark(var(--mantine-color-white), var(--mantine-color-dark-8))", children: (_b = list[0]) == null ? void 0 : _b.map((item, idx) => {
9302
+ /* @__PURE__ */ jsx110(Table5.Tbody, { bg: "light-dark(var(--mantine-color-white), var(--mantine-color-dark-8))", children: (_b = list[0]) == null ? void 0 : _b.map((item, idx) => {
9294
9303
  if (item.links == void 0) return /* @__PURE__ */ jsxs63(Table5.Tr, { children: [
9295
- /* @__PURE__ */ jsx109(Table5.Td, { children: item.label }),
9296
- /* @__PURE__ */ jsx109(Table5.Td, { children: /* @__PURE__ */ jsx109(MyCenterFull, { children: /* @__PURE__ */ jsx109(Checkbox4, {}) }) }),
9297
- /* @__PURE__ */ jsx109(Table5.Td, { children: /* @__PURE__ */ jsx109(MyCenterFull, { children: /* @__PURE__ */ jsx109(Checkbox4, {}) }) }),
9298
- /* @__PURE__ */ jsx109(Table5.Td, { children: /* @__PURE__ */ jsx109(MyCenterFull, { children: /* @__PURE__ */ jsx109(Checkbox4, {}) }) }),
9299
- /* @__PURE__ */ jsx109(Table5.Td, { children: /* @__PURE__ */ jsx109(MyCenterFull, { children: /* @__PURE__ */ jsx109(Checkbox4, {}) }) }),
9300
- /* @__PURE__ */ jsx109(Table5.Td, { children: /* @__PURE__ */ jsx109(MyCenterFull, { children: /* @__PURE__ */ jsx109(Checkbox4, {}) }) }),
9301
- /* @__PURE__ */ jsx109(Table5.Td, { children: /* @__PURE__ */ jsx109(MyCenterFull, { children: /* @__PURE__ */ jsx109(Checkbox4, {}) }) })
9304
+ /* @__PURE__ */ jsx110(Table5.Td, { children: item.label }),
9305
+ /* @__PURE__ */ jsx110(Table5.Td, { children: /* @__PURE__ */ jsx110(MyCenterFull, { children: /* @__PURE__ */ jsx110(Checkbox4, {}) }) }),
9306
+ /* @__PURE__ */ jsx110(Table5.Td, { children: /* @__PURE__ */ jsx110(MyCenterFull, { children: /* @__PURE__ */ jsx110(Checkbox4, {}) }) }),
9307
+ /* @__PURE__ */ jsx110(Table5.Td, { children: /* @__PURE__ */ jsx110(MyCenterFull, { children: /* @__PURE__ */ jsx110(Checkbox4, {}) }) }),
9308
+ /* @__PURE__ */ jsx110(Table5.Td, { children: /* @__PURE__ */ jsx110(MyCenterFull, { children: /* @__PURE__ */ jsx110(Checkbox4, {}) }) }),
9309
+ /* @__PURE__ */ jsx110(Table5.Td, { children: /* @__PURE__ */ jsx110(MyCenterFull, { children: /* @__PURE__ */ jsx110(Checkbox4, {}) }) }),
9310
+ /* @__PURE__ */ jsx110(Table5.Td, { children: /* @__PURE__ */ jsx110(MyCenterFull, { children: /* @__PURE__ */ jsx110(Checkbox4, {}) }) })
9302
9311
  ] }, idx);
9303
9312
  return /* @__PURE__ */ jsxs63(React4.Fragment, { children: [
9304
- /* @__PURE__ */ jsx109(Table5.Tr, { children: /* @__PURE__ */ jsx109(
9313
+ /* @__PURE__ */ jsx110(Table5.Tr, { children: /* @__PURE__ */ jsx110(
9305
9314
  Table5.Td,
9306
9315
  {
9307
9316
  colSpan: 7,
9308
9317
  bg: OBJECT_COlORS.mantineBackgroundBlueLight,
9309
- children: /* @__PURE__ */ jsx109(Text14, { fs: "oblique", size: "sm", fw: "bold", children: item.label })
9318
+ children: /* @__PURE__ */ jsx110(Text14, { fs: "oblique", size: "sm", fw: "bold", children: item.label })
9310
9319
  }
9311
9320
  ) }, item.label),
9312
9321
  item.links.map(
9313
9322
  (item2, idx2) => {
9314
9323
  var _a2, _b2, _c, _d, _e, _f;
9315
9324
  return /* @__PURE__ */ jsxs63(Table5.Tr, { children: [
9316
- /* @__PURE__ */ jsx109(Table5.Td, { children: item2.label }),
9317
- /* @__PURE__ */ jsx109(Table5.Td, { children: /* @__PURE__ */ jsx109(MyCenterFull, { children: /* @__PURE__ */ jsx109(
9325
+ /* @__PURE__ */ jsx110(Table5.Td, { children: item2.label }),
9326
+ /* @__PURE__ */ jsx110(Table5.Td, { children: /* @__PURE__ */ jsx110(MyCenterFull, { children: /* @__PURE__ */ jsx110(
9318
9327
  Checkbox4,
9319
9328
  {
9320
9329
  checked: ((_a2 = store.findByPageId(item2.pageId)) == null ? void 0 : _a2.isRead) || false,
@@ -9325,7 +9334,7 @@ function F_core83092_ViewMenuPermissions() {
9325
9334
  }
9326
9335
  }
9327
9336
  ) }) }),
9328
- /* @__PURE__ */ jsx109(Table5.Td, { children: /* @__PURE__ */ jsx109(MyCenterFull, { children: /* @__PURE__ */ jsx109(
9337
+ /* @__PURE__ */ jsx110(Table5.Td, { children: /* @__PURE__ */ jsx110(MyCenterFull, { children: /* @__PURE__ */ jsx110(
9329
9338
  Checkbox4,
9330
9339
  {
9331
9340
  checked: ((_b2 = store.findByPageId(item2.pageId)) == null ? void 0 : _b2.isCreate) || false,
@@ -9336,7 +9345,7 @@ function F_core83092_ViewMenuPermissions() {
9336
9345
  }
9337
9346
  }
9338
9347
  ) }) }),
9339
- /* @__PURE__ */ jsx109(Table5.Td, { children: /* @__PURE__ */ jsx109(MyCenterFull, { children: /* @__PURE__ */ jsx109(
9348
+ /* @__PURE__ */ jsx110(Table5.Td, { children: /* @__PURE__ */ jsx110(MyCenterFull, { children: /* @__PURE__ */ jsx110(
9340
9349
  Checkbox4,
9341
9350
  {
9342
9351
  checked: ((_c = store.findByPageId(item2.pageId)) == null ? void 0 : _c.isUpdate) || false,
@@ -9347,7 +9356,7 @@ function F_core83092_ViewMenuPermissions() {
9347
9356
  }
9348
9357
  }
9349
9358
  ) }) }),
9350
- /* @__PURE__ */ jsx109(Table5.Td, { children: /* @__PURE__ */ jsx109(MyCenterFull, { children: /* @__PURE__ */ jsx109(
9359
+ /* @__PURE__ */ jsx110(Table5.Td, { children: /* @__PURE__ */ jsx110(MyCenterFull, { children: /* @__PURE__ */ jsx110(
9351
9360
  Checkbox4,
9352
9361
  {
9353
9362
  checked: ((_d = store.findByPageId(item2.pageId)) == null ? void 0 : _d.isDelete) || false,
@@ -9358,7 +9367,7 @@ function F_core83092_ViewMenuPermissions() {
9358
9367
  }
9359
9368
  }
9360
9369
  ) }) }),
9361
- /* @__PURE__ */ jsx109(Table5.Td, { children: /* @__PURE__ */ jsx109(MyCenterFull, { children: /* @__PURE__ */ jsx109(
9370
+ /* @__PURE__ */ jsx110(Table5.Td, { children: /* @__PURE__ */ jsx110(MyCenterFull, { children: /* @__PURE__ */ jsx110(
9362
9371
  Checkbox4,
9363
9372
  {
9364
9373
  checked: ((_e = store.findByPageId(item2.pageId)) == null ? void 0 : _e.isPrint) || false,
@@ -9369,7 +9378,7 @@ function F_core83092_ViewMenuPermissions() {
9369
9378
  }
9370
9379
  }
9371
9380
  ) }) }),
9372
- /* @__PURE__ */ jsx109(Table5.Td, { children: /* @__PURE__ */ jsx109(MyCenterFull, { children: /* @__PURE__ */ jsx109(
9381
+ /* @__PURE__ */ jsx110(Table5.Td, { children: /* @__PURE__ */ jsx110(MyCenterFull, { children: /* @__PURE__ */ jsx110(
9373
9382
  Checkbox4,
9374
9383
  {
9375
9384
  checked: ((_f = store.findByPageId(item2.pageId)) == null ? void 0 : _f.isExport) || false,
@@ -9425,13 +9434,13 @@ function useGetUserPermission2() {
9425
9434
  }
9426
9435
 
9427
9436
  // src/modules-features/admin/core/core83092/F_core83092.tsx
9428
- import { jsx as jsx110, jsxs as jsxs64 } from "react/jsx-runtime";
9437
+ import { jsx as jsx111, jsxs as jsxs64 } from "react/jsx-runtime";
9429
9438
  function F_core83092() {
9430
- return /* @__PURE__ */ jsx110(MyPageContent, { children: /* @__PURE__ */ jsxs64(Grid2, { grow: true, children: [
9431
- /* @__PURE__ */ jsx110(Grid2.Col, { span: 4, children: /* @__PURE__ */ jsx110(F_core83092_ReadUser, {}) }),
9432
- /* @__PURE__ */ jsx110(Grid2.Col, { span: 8, children: /* @__PURE__ */ jsxs64(MyFlexColumn, { h: "80vh", flex: 1, children: [
9433
- /* @__PURE__ */ jsx110(ScrollArea8.Autosize, { h: "100%", children: /* @__PURE__ */ jsx110(Paper7, { p: "md", bg: OBJECT_COlORS.mantineBackgroundSecondary, children: /* @__PURE__ */ jsx110(F_core83092_ViewMenuPermissions, {}) }) }),
9434
- /* @__PURE__ */ jsx110(F_core83092_Save, {})
9439
+ return /* @__PURE__ */ jsx111(MyPageContent, { children: /* @__PURE__ */ jsxs64(Grid2, { grow: true, children: [
9440
+ /* @__PURE__ */ jsx111(Grid2.Col, { span: 4, children: /* @__PURE__ */ jsx111(F_core83092_ReadUser, {}) }),
9441
+ /* @__PURE__ */ jsx111(Grid2.Col, { span: 8, children: /* @__PURE__ */ jsxs64(MyFlexColumn, { h: "80vh", flex: 1, children: [
9442
+ /* @__PURE__ */ jsx111(ScrollArea8.Autosize, { h: "100%", children: /* @__PURE__ */ jsx111(Paper7, { p: "md", bg: OBJECT_COlORS.mantineBackgroundSecondary, children: /* @__PURE__ */ jsx111(F_core83092_ViewMenuPermissions, {}) }) }),
9443
+ /* @__PURE__ */ jsx111(F_core83092_Save, {})
9435
9444
  ] }) })
9436
9445
  ] }) });
9437
9446
  }
@@ -9439,58 +9448,58 @@ function F_core83092() {
9439
9448
  // src/modules-features/admin/core/MainDashboard/BarChart_CourseStatus.tsx
9440
9449
  import { BarChart } from "@mantine/charts";
9441
9450
  import { Group as Group18, Paper as Paper8, Text as Text15, useMantineColorScheme as useMantineColorScheme2 } from "@mantine/core";
9442
- import { Fragment as Fragment13, jsx as jsx111, jsxs as jsxs65 } from "react/jsx-runtime";
9451
+ import { Fragment as Fragment13, jsx as jsx112, jsxs as jsxs65 } from "react/jsx-runtime";
9443
9452
 
9444
9453
  // src/modules-features/admin/core/MainDashboard/BarChart_ExamStatus.tsx
9445
9454
  import { BarChart as BarChart2 } from "@mantine/charts";
9446
9455
  import { Group as Group19, Paper as Paper9, Text as Text16, useMantineColorScheme as useMantineColorScheme3 } from "@mantine/core";
9447
- import { Fragment as Fragment14, jsx as jsx112, jsxs as jsxs66 } from "react/jsx-runtime";
9456
+ import { Fragment as Fragment14, jsx as jsx113, jsxs as jsxs66 } from "react/jsx-runtime";
9448
9457
 
9449
9458
  // src/modules-features/admin/core/MainDashboard/BarChart_RevenueByAcademicYear.tsx
9450
9459
  import { BarChart as BarChart3 } from "@mantine/charts";
9451
9460
  import { Group as Group20, Paper as Paper10, Text as Text17, useMantineColorScheme as useMantineColorScheme4 } from "@mantine/core";
9452
- import { Fragment as Fragment15, jsx as jsx113, jsxs as jsxs67 } from "react/jsx-runtime";
9461
+ import { Fragment as Fragment15, jsx as jsx114, jsxs as jsxs67 } from "react/jsx-runtime";
9453
9462
 
9454
9463
  // src/modules-features/admin/core/MainDashboard/BarChart_StudentStatusIn30Days.tsx
9455
9464
  import { BarChart as BarChart4 } from "@mantine/charts";
9456
9465
  import { Group as Group21, Paper as Paper11, Text as Text18, useMantineColorScheme as useMantineColorScheme5 } from "@mantine/core";
9457
- import { Fragment as Fragment16, jsx as jsx114, jsxs as jsxs68 } from "react/jsx-runtime";
9466
+ import { Fragment as Fragment16, jsx as jsx115, jsxs as jsxs68 } from "react/jsx-runtime";
9458
9467
 
9459
9468
  // src/modules-features/admin/core/MainDashboard/HBarChart_CourseDropOutPercentage.tsx
9460
9469
  import { BarChart as BarChart5 } from "@mantine/charts";
9461
9470
  import { Group as Group22, Paper as Paper12, Text as Text19, useMantineColorScheme as useMantineColorScheme6 } from "@mantine/core";
9462
- import { jsx as jsx115, jsxs as jsxs69 } from "react/jsx-runtime";
9471
+ import { jsx as jsx116, jsxs as jsxs69 } from "react/jsx-runtime";
9463
9472
 
9464
9473
  // src/modules-features/admin/core/MainDashboard/HBarChart_CourseProgressPercentage.tsx
9465
9474
  import { BarChart as BarChart6 } from "@mantine/charts";
9466
9475
  import { Group as Group23, Paper as Paper13, Text as Text20, useMantineColorScheme as useMantineColorScheme7 } from "@mantine/core";
9467
- import { jsx as jsx116, jsxs as jsxs70 } from "react/jsx-runtime";
9476
+ import { jsx as jsx117, jsxs as jsxs70 } from "react/jsx-runtime";
9468
9477
 
9469
9478
  // src/modules-features/admin/core/MainDashboard/LineChart_RevenueIn12Months.tsx
9470
9479
  import { LineChart } from "@mantine/charts";
9471
9480
  import { Group as Group24, Paper as Paper14, Text as Text21 } from "@mantine/core";
9472
- import { Fragment as Fragment17, jsx as jsx117, jsxs as jsxs71 } from "react/jsx-runtime";
9481
+ import { Fragment as Fragment17, jsx as jsx118, jsxs as jsxs71 } from "react/jsx-runtime";
9473
9482
 
9474
9483
  // src/modules-features/admin/core/MainDashboard/LineChart_TotalRevenueByDiscountIn3Months.tsx
9475
9484
  import { LineChart as LineChart2 } from "@mantine/charts";
9476
9485
  import { Group as Group25, Paper as Paper15, Text as Text22 } from "@mantine/core";
9477
- import { Fragment as Fragment18, jsx as jsx118, jsxs as jsxs72 } from "react/jsx-runtime";
9486
+ import { Fragment as Fragment18, jsx as jsx119, jsxs as jsxs72 } from "react/jsx-runtime";
9478
9487
 
9479
9488
  // src/modules-features/admin/core/MainDashboard/LineChart_TotalRevenueByVoucherIn3Months.tsx
9480
9489
  import { LineChart as LineChart3 } from "@mantine/charts";
9481
9490
  import { Group as Group26, Paper as Paper16, Text as Text23 } from "@mantine/core";
9482
- import { Fragment as Fragment19, jsx as jsx119, jsxs as jsxs73 } from "react/jsx-runtime";
9491
+ import { Fragment as Fragment19, jsx as jsx120, jsxs as jsxs73 } from "react/jsx-runtime";
9483
9492
 
9484
9493
  // src/modules-features/admin/core/MainDashboard/LineChart_TotalStudentIn12Months.tsx
9485
9494
  import { LineChart as LineChart4 } from "@mantine/charts";
9486
9495
  import { Group as Group27, Paper as Paper17, Text as Text24 } from "@mantine/core";
9487
- import { Fragment as Fragment20, jsx as jsx120, jsxs as jsxs74 } from "react/jsx-runtime";
9496
+ import { Fragment as Fragment20, jsx as jsx121, jsxs as jsxs74 } from "react/jsx-runtime";
9488
9497
 
9489
9498
  // src/modules-features/admin/core/MainDashboard/ViewDiscountStat.tsx
9490
9499
  import { Center as Center4, Progress, Space as Space4, Text as Text25 } from "@mantine/core";
9491
9500
  import { PieChart } from "@mantine/charts";
9492
9501
  import { useMemo as useMemo16 } from "react";
9493
- import { Fragment as Fragment21, jsx as jsx121, jsxs as jsxs75 } from "react/jsx-runtime";
9502
+ import { Fragment as Fragment21, jsx as jsx122, jsxs as jsxs75 } from "react/jsx-runtime";
9494
9503
  function getRandomColor(seed) {
9495
9504
  const random = Math.sin(seed) * 1e4;
9496
9505
  const color = `#${Math.floor((random - Math.floor(random)) * 16777215).toString(16).padStart(6, "0")}`;
@@ -9668,7 +9677,7 @@ function PieChart_DiscountUsedPercentage() {
9668
9677
  header: "M\xE0u",
9669
9678
  accessorKey: "color",
9670
9679
  accessorFn(originalRow) {
9671
- return /* @__PURE__ */ jsx121("div", { style: { width: 20, height: 20, backgroundColor: originalRow.color } });
9680
+ return /* @__PURE__ */ jsx122("div", { style: { width: 20, height: 20, backgroundColor: originalRow.color } });
9672
9681
  },
9673
9682
  minSize: 30,
9674
9683
  maxSize: 30
@@ -9683,7 +9692,7 @@ function PieChart_DiscountUsedPercentage() {
9683
9692
  header: "%",
9684
9693
  accessorKey: "used",
9685
9694
  accessorFn(originalRow) {
9686
- return /* @__PURE__ */ jsx121(Fragment21, { children: /* @__PURE__ */ jsx121(Center4, { children: /* @__PURE__ */ jsxs75(Text25, { children: [
9695
+ return /* @__PURE__ */ jsx122(Fragment21, { children: /* @__PURE__ */ jsx122(Center4, { children: /* @__PURE__ */ jsxs75(Text25, { children: [
9687
9696
  (originalRow.used / totalDisountCode * 100).toFixed(0),
9688
9697
  "%"
9689
9698
  ] }) }) });
@@ -9699,7 +9708,7 @@ function PieChart_DiscountUsedPercentage() {
9699
9708
  },
9700
9709
  Cell: ({ row }) => {
9701
9710
  return /* @__PURE__ */ jsxs75(Fragment21, { children: [
9702
- /* @__PURE__ */ jsx121(Center4, { children: /* @__PURE__ */ jsxs75(Text25, { children: [
9711
+ /* @__PURE__ */ jsx122(Center4, { children: /* @__PURE__ */ jsxs75(Text25, { children: [
9703
9712
  "\u0110\xE3 s\u1EED d\u1EE5ng: ",
9704
9713
  /* @__PURE__ */ jsxs75("strong", { children: [
9705
9714
  row.original.used,
@@ -9710,7 +9719,7 @@ function PieChart_DiscountUsedPercentage() {
9710
9719
  (row.original.used / row.original.total * 100).toFixed(2),
9711
9720
  "%)"
9712
9721
  ] }) }),
9713
- /* @__PURE__ */ jsx121(Progress, { color: "yellow", radius: "xs", size: "lg", value: row.original.used / row.original.total * 100 })
9722
+ /* @__PURE__ */ jsx122(Progress, { color: "yellow", radius: "xs", size: "lg", value: row.original.used / row.original.total * 100 })
9714
9723
  ] });
9715
9724
  },
9716
9725
  minSize: 50,
@@ -9719,9 +9728,9 @@ function PieChart_DiscountUsedPercentage() {
9719
9728
  ],
9720
9729
  []
9721
9730
  );
9722
- return /* @__PURE__ */ jsx121(Fragment21, { children: /* @__PURE__ */ jsxs75(MyFlexColumn, { children: [
9723
- /* @__PURE__ */ jsx121(Text25, { mb: "20", children: "Bi\u1EC3u \u0111\u1ED3 ph\u1EA7n tr\u0103m s\u1EED d\u1EE5ng chi\u1EBFt kh\u1EA5u h\u1ECDc vi\xEAn trong 60 ng\xE0y qua" }),
9724
- /* @__PURE__ */ jsx121(Center4, { children: /* @__PURE__ */ jsx121(
9731
+ return /* @__PURE__ */ jsx122(Fragment21, { children: /* @__PURE__ */ jsxs75(MyFlexColumn, { children: [
9732
+ /* @__PURE__ */ jsx122(Text25, { mb: "20", children: "Bi\u1EC3u \u0111\u1ED3 ph\u1EA7n tr\u0103m s\u1EED d\u1EE5ng chi\u1EBFt kh\u1EA5u h\u1ECDc vi\xEAn trong 60 ng\xE0y qua" }),
9733
+ /* @__PURE__ */ jsx122(Center4, { children: /* @__PURE__ */ jsx122(
9725
9734
  PieChart,
9726
9735
  {
9727
9736
  startAngle: 90,
@@ -9734,8 +9743,8 @@ function PieChart_DiscountUsedPercentage() {
9734
9743
  data: data_used_discountCode
9735
9744
  }
9736
9745
  ) }),
9737
- /* @__PURE__ */ jsx121(Space4, { mt: 5 }),
9738
- /* @__PURE__ */ jsx121(
9746
+ /* @__PURE__ */ jsx122(Space4, { mt: 5 }),
9747
+ /* @__PURE__ */ jsx122(
9739
9748
  MyDataTable,
9740
9749
  {
9741
9750
  data: mockData,
@@ -9753,7 +9762,7 @@ function PieChart_DiscountUsedPercentage() {
9753
9762
  import { Center as Center5, Progress as Progress2, Space as Space5, Text as Text26 } from "@mantine/core";
9754
9763
  import { PieChart as PieChart2 } from "@mantine/charts";
9755
9764
  import { useMemo as useMemo17 } from "react";
9756
- import { Fragment as Fragment22, jsx as jsx122, jsxs as jsxs76 } from "react/jsx-runtime";
9765
+ import { Fragment as Fragment22, jsx as jsx123, jsxs as jsxs76 } from "react/jsx-runtime";
9757
9766
  function getRandomColor2(seed) {
9758
9767
  const random = Math.sin(seed) * 1e4;
9759
9768
  const color = `#${Math.floor((random - Math.floor(random)) * 16777215).toString(16).padStart(6, "0")}`;
@@ -9931,7 +9940,7 @@ function PieChart_VoucherUsedPercentage() {
9931
9940
  header: "M\xE0u",
9932
9941
  accessorKey: "color",
9933
9942
  accessorFn(originalRow) {
9934
- return /* @__PURE__ */ jsx122("div", { style: { width: 20, height: 20, backgroundColor: originalRow.color } });
9943
+ return /* @__PURE__ */ jsx123("div", { style: { width: 20, height: 20, backgroundColor: originalRow.color } });
9935
9944
  },
9936
9945
  minSize: 30,
9937
9946
  maxSize: 30
@@ -9946,7 +9955,7 @@ function PieChart_VoucherUsedPercentage() {
9946
9955
  header: "%",
9947
9956
  accessorKey: "used",
9948
9957
  accessorFn(originalRow) {
9949
- return /* @__PURE__ */ jsx122(Fragment22, { children: /* @__PURE__ */ jsx122(Center5, { children: /* @__PURE__ */ jsxs76(Text26, { children: [
9958
+ return /* @__PURE__ */ jsx123(Fragment22, { children: /* @__PURE__ */ jsx123(Center5, { children: /* @__PURE__ */ jsxs76(Text26, { children: [
9950
9959
  (originalRow.used / totalVoucherCode * 100).toFixed(0),
9951
9960
  "%"
9952
9961
  ] }) }) });
@@ -9962,7 +9971,7 @@ function PieChart_VoucherUsedPercentage() {
9962
9971
  },
9963
9972
  Cell: ({ row }) => {
9964
9973
  return /* @__PURE__ */ jsxs76(Fragment22, { children: [
9965
- /* @__PURE__ */ jsx122(Center5, { children: /* @__PURE__ */ jsxs76(Text26, { children: [
9974
+ /* @__PURE__ */ jsx123(Center5, { children: /* @__PURE__ */ jsxs76(Text26, { children: [
9966
9975
  "\u0110\xE3 s\u1EED d\u1EE5ng: ",
9967
9976
  /* @__PURE__ */ jsxs76("strong", { children: [
9968
9977
  row.original.used,
@@ -9973,7 +9982,7 @@ function PieChart_VoucherUsedPercentage() {
9973
9982
  (row.original.used / row.original.total * 100).toFixed(2),
9974
9983
  "%)"
9975
9984
  ] }) }),
9976
- /* @__PURE__ */ jsx122(Progress2, { color: "yellow", radius: "xs", size: "lg", value: row.original.used / row.original.total * 100 })
9985
+ /* @__PURE__ */ jsx123(Progress2, { color: "yellow", radius: "xs", size: "lg", value: row.original.used / row.original.total * 100 })
9977
9986
  ] });
9978
9987
  },
9979
9988
  minSize: 50,
@@ -9982,9 +9991,9 @@ function PieChart_VoucherUsedPercentage() {
9982
9991
  ],
9983
9992
  []
9984
9993
  );
9985
- return /* @__PURE__ */ jsx122(Fragment22, { children: /* @__PURE__ */ jsxs76(MyFlexColumn, { children: [
9986
- /* @__PURE__ */ jsx122(Text26, { mb: "20", children: "Bi\u1EC3u \u0111\u1ED3 ph\u1EA7n tr\u0103m s\u1EED d\u1EE5ng m\xE3 gi\u1EA3m gi\xE1 h\u1ECDc vi\xEAn trong 60 ng\xE0y qua" }),
9987
- /* @__PURE__ */ jsx122(Center5, { children: /* @__PURE__ */ jsx122(
9994
+ return /* @__PURE__ */ jsx123(Fragment22, { children: /* @__PURE__ */ jsxs76(MyFlexColumn, { children: [
9995
+ /* @__PURE__ */ jsx123(Text26, { mb: "20", children: "Bi\u1EC3u \u0111\u1ED3 ph\u1EA7n tr\u0103m s\u1EED d\u1EE5ng m\xE3 gi\u1EA3m gi\xE1 h\u1ECDc vi\xEAn trong 60 ng\xE0y qua" }),
9996
+ /* @__PURE__ */ jsx123(Center5, { children: /* @__PURE__ */ jsx123(
9988
9997
  PieChart2,
9989
9998
  {
9990
9999
  startAngle: 90,
@@ -9997,8 +10006,8 @@ function PieChart_VoucherUsedPercentage() {
9997
10006
  data: data_used_discountCode2
9998
10007
  }
9999
10008
  ) }),
10000
- /* @__PURE__ */ jsx122(Space5, { mt: 5 }),
10001
- /* @__PURE__ */ jsx122(
10009
+ /* @__PURE__ */ jsx123(Space5, { mt: 5 }),
10010
+ /* @__PURE__ */ jsx123(
10002
10011
  MyDataTable,
10003
10012
  {
10004
10013
  data: mockData2,
@@ -10030,20 +10039,20 @@ function useS_authenticate() {
10030
10039
  }
10031
10040
 
10032
10041
  // src/modules-features/authenticate/F_authenticate_Logout.tsx
10033
- import { jsx as jsx123 } from "react/jsx-runtime";
10042
+ import { jsx as jsx124 } from "react/jsx-runtime";
10034
10043
  function F_authenticate_Logout() {
10035
10044
  const router = useRouter4();
10036
10045
  const S_Authenticate = useS_authenticate();
10037
- return /* @__PURE__ */ jsx123(Button18, { onClick: () => {
10046
+ return /* @__PURE__ */ jsx124(Button18, { onClick: () => {
10038
10047
  S_Authenticate.setProperty("token", "");
10039
10048
  router.replace("/authenticate/login");
10040
- }, leftSection: /* @__PURE__ */ jsx123(IconLogout, {}), fullWidth: true, justify: "start", variant: "subtle", children: "\u0110\u0103ng xu\u1EA5t" });
10049
+ }, leftSection: /* @__PURE__ */ jsx124(IconLogout, {}), fullWidth: true, justify: "start", variant: "subtle", children: "\u0110\u0103ng xu\u1EA5t" });
10041
10050
  }
10042
10051
 
10043
10052
  // src/modules-features/authenticate/F_authenticate_SplashPage.tsx
10044
10053
  import { useRouter as useRouter5 } from "next/navigation";
10045
10054
  import { useEffect as useEffect14 } from "react";
10046
- import { jsx as jsx124 } from "react/jsx-runtime";
10055
+ import { jsx as jsx125 } from "react/jsx-runtime";
10047
10056
  function F_authenticate_SplashPage() {
10048
10057
  const router = useRouter5();
10049
10058
  const S_Authenticate = useS_authenticate();
@@ -10054,7 +10063,7 @@ function F_authenticate_SplashPage() {
10054
10063
  }
10055
10064
  router.push("/admin/core71678");
10056
10065
  }, [S_Authenticate.state.token]);
10057
- return /* @__PURE__ */ jsx124(MyBoxesBackground, { title: "H\u1EC7 th\u1ED1ng th\xF4ng tin qu\u1EA3n l\xED \u0111\xE0o t\u1EA1o ng\u1EAFn h\u1EA1n" });
10066
+ return /* @__PURE__ */ jsx125(MyBoxesBackground, { title: "H\u1EC7 th\u1ED1ng th\xF4ng tin qu\u1EA3n l\xED \u0111\xE0o t\u1EA1o ng\u1EAFn h\u1EA1n" });
10058
10067
  }
10059
10068
 
10060
10069
  // src/modules-features/authenticate/F_authenticate_Login/F_authenticate_Login.tsx
@@ -10083,7 +10092,7 @@ import { useState as useState17 } from "react";
10083
10092
  var css_default3 = {};
10084
10093
 
10085
10094
  // src/modules-features/authenticate/F_authenticate_Login/F_authenticate_Login.tsx
10086
- import { jsx as jsx125, jsxs as jsxs77 } from "react/jsx-runtime";
10095
+ import { jsx as jsx126, jsxs as jsxs77 } from "react/jsx-runtime";
10087
10096
  function F_authenticate_Login({
10088
10097
  loginInfo,
10089
10098
  redirectUrlAfterLogin = "/admin/dashboard",
@@ -10127,21 +10136,21 @@ function F_authenticate_Login({
10127
10136
  }
10128
10137
  });
10129
10138
  }
10130
- return /* @__PURE__ */ jsx125(
10139
+ return /* @__PURE__ */ jsx126(
10131
10140
  BackgroundImage,
10132
10141
  {
10133
10142
  src: backgroundImage,
10134
10143
  h: "100vh",
10135
- children: /* @__PURE__ */ jsx125(Center6, { h: "100vh", children: /* @__PURE__ */ jsxs77(Paper18, { withBorder: true, w: 400, m: "md", shadow: "md", p: 30, mt: 30, radius: "md", children: [
10144
+ children: /* @__PURE__ */ jsx126(Center6, { h: "100vh", children: /* @__PURE__ */ jsxs77(Paper18, { withBorder: true, w: 400, m: "md", shadow: "md", p: 30, mt: 30, radius: "md", children: [
10136
10145
  /* @__PURE__ */ jsxs77(Flex7, { direction: "column", mb: "md", children: [
10137
- /* @__PURE__ */ jsx125(Title2, { ta: "center", className: css_default3.title, children: "\u0110\u0103ng nh\u1EADp!" }),
10146
+ /* @__PURE__ */ jsx126(Title2, { ta: "center", className: css_default3.title, children: "\u0110\u0103ng nh\u1EADp!" }),
10138
10147
  /* @__PURE__ */ jsxs77(Text27, { c: "dimmed", size: "sm", ta: "center", mt: 5, children: [
10139
10148
  "B\u1EA1n g\u1EB7p v\u1EA5n \u0111\u1EC1 k\u1EF9 thu\u1EADt?\xA0",
10140
- /* @__PURE__ */ jsx125(Anchor2, { size: "sm", component: "button", children: "V\xE0o link n\xE0y" })
10149
+ /* @__PURE__ */ jsx126(Anchor2, { size: "sm", component: "button", children: "V\xE0o link n\xE0y" })
10141
10150
  ] })
10142
10151
  ] }),
10143
- /* @__PURE__ */ jsx125("form", { onSubmit: form.onSubmit(async (values) => handleSubmit(values.username, values.password)), children: /* @__PURE__ */ jsxs77(MyFlexColumn, { children: [
10144
- /* @__PURE__ */ jsx125(
10152
+ /* @__PURE__ */ jsx126("form", { onSubmit: form.onSubmit(async (values) => handleSubmit(values.username, values.password)), children: /* @__PURE__ */ jsxs77(MyFlexColumn, { children: [
10153
+ /* @__PURE__ */ jsx126(
10145
10154
  TextInput6,
10146
10155
  __spreadProps(__spreadValues({}, form.getInputProps("username")), {
10147
10156
  label: "T\xE0i kho\u1EA3n",
@@ -10149,7 +10158,7 @@ function F_authenticate_Login({
10149
10158
  withAsterisk: true
10150
10159
  })
10151
10160
  ),
10152
- /* @__PURE__ */ jsx125(
10161
+ /* @__PURE__ */ jsx126(
10153
10162
  PasswordInput2,
10154
10163
  __spreadProps(__spreadValues({}, form.getInputProps("password")), {
10155
10164
  label: "M\u1EADt kh\u1EA9u",
@@ -10158,10 +10167,10 @@ function F_authenticate_Login({
10158
10167
  })
10159
10168
  ),
10160
10169
  /* @__PURE__ */ jsxs77(Group28, { justify: "space-between", children: [
10161
- /* @__PURE__ */ jsx125(Checkbox5, { label: "L\u01B0u \u0111\u0103ng nh\u1EADp" }),
10162
- /* @__PURE__ */ jsx125(Anchor2, { component: Link5, href: "quen-mat-khau", size: "sm", children: "Qu\xEAn m\u1EADt kh\u1EA9u?" })
10170
+ /* @__PURE__ */ jsx126(Checkbox5, { label: "L\u01B0u \u0111\u0103ng nh\u1EADp" }),
10171
+ /* @__PURE__ */ jsx126(Anchor2, { component: Link5, href: "quen-mat-khau", size: "sm", children: "Qu\xEAn m\u1EADt kh\u1EA9u?" })
10163
10172
  ] }),
10164
- /* @__PURE__ */ jsx125(
10173
+ /* @__PURE__ */ jsx126(
10165
10174
  Button19,
10166
10175
  {
10167
10176
  loading: loadingState[0],