aq-fe-framework 0.1.67 → 0.1.69

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