aq-fe-framework 0.1.133 → 0.1.135

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.
@@ -57,7 +57,7 @@ function MyButtonViewPDF({
57
57
  isActionIcon = false,
58
58
  filePath
59
59
  }) {
60
- var _a, _b, _c, _d;
60
+ var _a, _b, _c;
61
61
  const disc = useDisclosure(false);
62
62
  const fullScreen = useState(false);
63
63
  const hSize = useState("80vh");
@@ -131,11 +131,10 @@ function MyButtonViewPDF({
131
131
  overlayProps: { radius: "sm", blur: 2 }
132
132
  }
133
133
  ),
134
- (_a = query.data) == null ? void 0 : _a.fileBase64String,
135
134
  query.data ? /* @__PURE__ */ jsx2(
136
135
  "iframe",
137
136
  {
138
- src: `data:application/pdf;base64, ${filePath ? (_b = query.data) == null ? void 0 : _b.fileBase64String : (_d = (_c = query.data) == null ? void 0 : _c.fileDetail) == null ? void 0 : _d.fileBase64String}`,
137
+ src: `data:application/pdf;base64, ${filePath ? (_a = query.data) == null ? void 0 : _a.fileBase64String : (_c = (_b = query.data) == null ? void 0 : _b.fileDetail) == null ? void 0 : _c.fileBase64String}`,
139
138
  width: "100%",
140
139
  height: "100%"
141
140
  }
@@ -6704,43 +6703,48 @@ function MyIconText({ icon: Icon, text }) {
6704
6703
  ] });
6705
6704
  }
6706
6705
 
6707
- // src/components/DataDisplay/KeyLabel/MyKeyLabel.tsx
6708
- import { Group as Group10, Text as Text9 } from "@mantine/core";
6706
+ // src/components/DataDisplay/InformationCard/MyInformationCard.tsx
6707
+ import { Box as Box2, Button as Button13, Flex as Flex3, Group as Group10, Paper as Paper6, Text as Text9 } from "@mantine/core";
6708
+ import { IconArrowDownRight, IconArrowUpRight } from "@tabler/icons-react";
6709
6709
  import { jsx as jsx47, jsxs as jsxs26 } from "react/jsx-runtime";
6710
+
6711
+ // src/components/DataDisplay/KeyLabel/MyKeyLabel.tsx
6712
+ import { Group as Group11, Text as Text10 } from "@mantine/core";
6713
+ import { jsx as jsx48, jsxs as jsxs27 } from "react/jsx-runtime";
6710
6714
  function MyKeyLabel({ keyLabel, label }) {
6711
- return /* @__PURE__ */ jsxs26(Group10, { gap: 5, children: [
6712
- /* @__PURE__ */ jsxs26(Text9, { fw: "bold", children: [
6715
+ return /* @__PURE__ */ jsxs27(Group11, { gap: 5, children: [
6716
+ /* @__PURE__ */ jsxs27(Text10, { fw: "bold", children: [
6713
6717
  keyLabel,
6714
6718
  ":"
6715
6719
  ] }),
6716
- /* @__PURE__ */ jsx47(Text9, { children: label })
6720
+ /* @__PURE__ */ jsx48(Text10, { children: label })
6717
6721
  ] });
6718
6722
  }
6719
6723
 
6720
6724
  // src/components/DataDisplay/NumberFormatter/MyNumberFormatter.tsx
6721
6725
  import { NumberFormatter } from "@mantine/core";
6722
- import { jsx as jsx48 } from "react/jsx-runtime";
6726
+ import { jsx as jsx49 } from "react/jsx-runtime";
6723
6727
  function MyNumberFormatter(_a) {
6724
6728
  var rest = __objRest(_a, []);
6725
- return /* @__PURE__ */ jsx48(NumberFormatter, __spreadValues({ thousandSeparator: true, suffix: " VN\u0110" }, rest));
6729
+ return /* @__PURE__ */ jsx49(NumberFormatter, __spreadValues({ thousandSeparator: true, suffix: " VN\u0110" }, rest));
6726
6730
  }
6727
6731
 
6728
6732
  // src/components/DataDisplay/StatCard/AQStatCard1.tsx
6729
- import { Box as Box2, Button as Button13, Flex as Flex3, Group as Group11, Paper as Paper6, Text as Text10 } from "@mantine/core";
6730
- import { IconArrowDownRight, IconArrowUpRight } from "@tabler/icons-react";
6731
- import { Fragment as Fragment11, jsx as jsx49, jsxs as jsxs27 } from "react/jsx-runtime";
6733
+ import { Box as Box3, Button as Button14, Flex as Flex4, Group as Group12, Paper as Paper7, Text as Text11 } from "@mantine/core";
6734
+ import { IconArrowDownRight as IconArrowDownRight2, IconArrowUpRight as IconArrowUpRight2 } from "@tabler/icons-react";
6735
+ import { Fragment as Fragment11, jsx as jsx50, jsxs as jsxs28 } from "react/jsx-runtime";
6732
6736
  function AQStatCard1({ title: title3, value, unit = "", description, icons, diff }) {
6733
- return /* @__PURE__ */ jsx49(Fragment11, { children: /* @__PURE__ */ jsxs27(
6734
- Paper6,
6737
+ return /* @__PURE__ */ jsx50(Fragment11, { children: /* @__PURE__ */ jsxs28(
6738
+ Paper7,
6735
6739
  {
6736
6740
  withBorder: true,
6737
6741
  p: "md",
6738
6742
  radius: "md",
6739
6743
  children: [
6740
- /* @__PURE__ */ jsxs27(Group11, { justify: "space-between", children: [
6741
- /* @__PURE__ */ jsxs27(Flex3, { direction: "column", children: [
6742
- /* @__PURE__ */ jsx49(
6743
- Text10,
6744
+ /* @__PURE__ */ jsxs28(Group12, { justify: "space-between", children: [
6745
+ /* @__PURE__ */ jsxs28(Flex4, { direction: "column", children: [
6746
+ /* @__PURE__ */ jsx50(
6747
+ Text11,
6744
6748
  {
6745
6749
  tt: "uppercase",
6746
6750
  size: "lg",
@@ -6748,54 +6752,54 @@ function AQStatCard1({ title: title3, value, unit = "", description, icons, diff
6748
6752
  children: title3
6749
6753
  }
6750
6754
  ),
6751
- unit == "" ? /* @__PURE__ */ jsxs27(Text10, { size: "xs", style: { visibility: "hidden" }, children: [
6755
+ unit == "" ? /* @__PURE__ */ jsxs28(Text11, { size: "xs", style: { visibility: "hidden" }, children: [
6752
6756
  "\u0110\u01A1n v\u1ECB: ",
6753
- /* @__PURE__ */ jsx49("strong", { children: unit })
6754
- ] }) : /* @__PURE__ */ jsxs27(Text10, { size: "xs", children: [
6757
+ /* @__PURE__ */ jsx50("strong", { children: unit })
6758
+ ] }) : /* @__PURE__ */ jsxs28(Text11, { size: "xs", children: [
6755
6759
  "\u0110\u01A1n v\u1ECB: ",
6756
- /* @__PURE__ */ jsx49("strong", { children: unit })
6760
+ /* @__PURE__ */ jsx50("strong", { children: unit })
6757
6761
  ] })
6758
6762
  ] }),
6759
- /* @__PURE__ */ jsx49(Box2, { children: icons })
6763
+ /* @__PURE__ */ jsx50(Box3, { children: icons })
6760
6764
  ] }),
6761
- /* @__PURE__ */ jsxs27(
6762
- Group11,
6765
+ /* @__PURE__ */ jsxs28(
6766
+ Group12,
6763
6767
  {
6764
6768
  mt: "5",
6765
6769
  align: "flex-end",
6766
6770
  gap: "xs",
6767
6771
  children: [
6768
- /* @__PURE__ */ jsx49(
6769
- Text10,
6772
+ /* @__PURE__ */ jsx50(
6773
+ Text11,
6770
6774
  {
6771
6775
  fw: 700,
6772
6776
  fz: "h1",
6773
6777
  children: value
6774
6778
  }
6775
6779
  ),
6776
- /* @__PURE__ */ jsxs27(
6777
- Text10,
6780
+ /* @__PURE__ */ jsxs28(
6781
+ Text11,
6778
6782
  {
6779
6783
  mb: "2",
6780
6784
  c: diff > 0 ? "teal" : "red",
6781
6785
  fz: "h2",
6782
6786
  fw: 500,
6783
6787
  children: [
6784
- /* @__PURE__ */ jsxs27("span", { children: [
6788
+ /* @__PURE__ */ jsxs28("span", { children: [
6785
6789
  diff,
6786
6790
  "%"
6787
6791
  ] }),
6788
- diff > 0 ? /* @__PURE__ */ jsx49(IconArrowUpRight, {}) : /* @__PURE__ */ jsx49(IconArrowDownRight, {})
6792
+ diff > 0 ? /* @__PURE__ */ jsx50(IconArrowUpRight2, {}) : /* @__PURE__ */ jsx50(IconArrowDownRight2, {})
6789
6793
  ]
6790
6794
  }
6791
6795
  )
6792
6796
  ]
6793
6797
  }
6794
6798
  ),
6795
- /* @__PURE__ */ jsxs27(Group11, { justify: "space-between", children: [
6796
- /* @__PURE__ */ jsx49(Text10, { tt: "uppercase", fz: "xs", c: "dimmed", children: description }),
6797
- /* @__PURE__ */ jsx49(
6798
- Button13,
6799
+ /* @__PURE__ */ jsxs28(Group12, { justify: "space-between", children: [
6800
+ /* @__PURE__ */ jsx50(Text11, { tt: "uppercase", fz: "xs", c: "dimmed", children: description }),
6801
+ /* @__PURE__ */ jsx50(
6802
+ Button14,
6799
6803
  {
6800
6804
  variant: "light",
6801
6805
  size: "xs",
@@ -6836,8 +6840,8 @@ function FaviconSetter() {
6836
6840
  }
6837
6841
 
6838
6842
  // src/components/Inputs/Fieldset/MyFieldset.tsx
6839
- import { Box as Box3, Fieldset as Fieldset4, Text as Text11 } from "@mantine/core";
6840
- import { jsx as jsx50 } from "react/jsx-runtime";
6843
+ import { Box as Box4, Fieldset as Fieldset4, Text as Text12 } from "@mantine/core";
6844
+ import { jsx as jsx51 } from "react/jsx-runtime";
6841
6845
  function MyFieldset(_a) {
6842
6846
  var _b = _a, {
6843
6847
  children,
@@ -6846,17 +6850,17 @@ function MyFieldset(_a) {
6846
6850
  "children",
6847
6851
  "title"
6848
6852
  ]);
6849
- return /* @__PURE__ */ jsx50(
6853
+ return /* @__PURE__ */ jsx51(
6850
6854
  Fieldset4,
6851
6855
  __spreadProps(__spreadValues({}, rest), {
6852
- legend: /* @__PURE__ */ jsx50(
6853
- Box3,
6856
+ legend: /* @__PURE__ */ jsx51(
6857
+ Box4,
6854
6858
  {
6855
6859
  bg: "blue.4",
6856
6860
  px: "xs",
6857
6861
  py: 2,
6858
6862
  style: { borderRadius: 4 },
6859
- children: /* @__PURE__ */ jsx50(Text11, { c: "white", fw: 500, children: title3 })
6863
+ children: /* @__PURE__ */ jsx51(Text12, { c: "white", fw: 500, children: title3 })
6860
6864
  }
6861
6865
  ),
6862
6866
  children
@@ -6866,10 +6870,10 @@ function MyFieldset(_a) {
6866
6870
 
6867
6871
  // src/components/Inputs/TextArea/MyTextArea.tsx
6868
6872
  import { Textarea } from "@mantine/core";
6869
- import { jsx as jsx51 } from "react/jsx-runtime";
6873
+ import { jsx as jsx52 } from "react/jsx-runtime";
6870
6874
  function MyTextArea(_a) {
6871
6875
  var _b = _a, { label } = _b, rest = __objRest(_b, ["label"]);
6872
- return /* @__PURE__ */ jsx51(Textarea, __spreadValues({ label, placeholder: label ? `Nh\u1EADp ${label == null ? void 0 : label.toLowerCase()}` : "" }, rest));
6876
+ return /* @__PURE__ */ jsx52(Textarea, __spreadValues({ label, placeholder: label ? `Nh\u1EADp ${label == null ? void 0 : label.toLowerCase()}` : "" }, rest));
6873
6877
  }
6874
6878
 
6875
6879
  // src/components/Inputs/TextEditor/MyTextEditor.tsx
@@ -6885,7 +6889,7 @@ import Underline from "@tiptap/extension-underline";
6885
6889
  import { useEditor } from "@tiptap/react";
6886
6890
  import StarterKit from "@tiptap/starter-kit";
6887
6891
  import { useEffect as useEffect7, useState as useState7 } from "react";
6888
- import { jsx as jsx52, jsxs as jsxs28 } from "react/jsx-runtime";
6892
+ import { jsx as jsx53, jsxs as jsxs29 } from "react/jsx-runtime";
6889
6893
  function MyTextEditor(_a) {
6890
6894
  var _b = _a, {
6891
6895
  autoHiddenToolBar = false,
@@ -6987,43 +6991,43 @@ function MyTextEditor(_a) {
6987
6991
  editor.commands.setContent(value);
6988
6992
  }
6989
6993
  }, [value, editor]);
6990
- return /* @__PURE__ */ jsx52(Input.Wrapper, { label, flex: 1, error, withAsterisk, children: /* @__PURE__ */ jsxs28(RichTextEditor, { editor, style: { border: error && "1px solid #e03131" }, children: [
6991
- /* @__PURE__ */ jsxs28(RichTextEditor.Toolbar, { hidden: hiddenToolBar, sticky: true, stickyOffset: 60, children: [
6992
- /* @__PURE__ */ jsxs28(RichTextEditor.ControlsGroup, { children: [
6993
- /* @__PURE__ */ jsx52(RichTextEditor.Bold, {}),
6994
- /* @__PURE__ */ jsx52(RichTextEditor.Italic, {}),
6995
- /* @__PURE__ */ jsx52(RichTextEditor.Underline, {}),
6996
- /* @__PURE__ */ jsx52(RichTextEditor.Strikethrough, {}),
6997
- /* @__PURE__ */ jsx52(RichTextEditor.ClearFormatting, {}),
6998
- /* @__PURE__ */ jsx52(RichTextEditor.Highlight, {}),
6999
- /* @__PURE__ */ jsx52(RichTextEditor.Code, {})
6994
+ return /* @__PURE__ */ jsx53(Input.Wrapper, { label, flex: 1, error, withAsterisk, children: /* @__PURE__ */ jsxs29(RichTextEditor, { editor, style: { border: error && "1px solid #e03131" }, children: [
6995
+ /* @__PURE__ */ jsxs29(RichTextEditor.Toolbar, { hidden: hiddenToolBar, sticky: true, stickyOffset: 60, children: [
6996
+ /* @__PURE__ */ jsxs29(RichTextEditor.ControlsGroup, { children: [
6997
+ /* @__PURE__ */ jsx53(RichTextEditor.Bold, {}),
6998
+ /* @__PURE__ */ jsx53(RichTextEditor.Italic, {}),
6999
+ /* @__PURE__ */ jsx53(RichTextEditor.Underline, {}),
7000
+ /* @__PURE__ */ jsx53(RichTextEditor.Strikethrough, {}),
7001
+ /* @__PURE__ */ jsx53(RichTextEditor.ClearFormatting, {}),
7002
+ /* @__PURE__ */ jsx53(RichTextEditor.Highlight, {}),
7003
+ /* @__PURE__ */ jsx53(RichTextEditor.Code, {})
7000
7004
  ] }),
7001
- /* @__PURE__ */ jsxs28(RichTextEditor.ControlsGroup, { children: [
7002
- /* @__PURE__ */ jsx52(RichTextEditor.H1, {}),
7003
- /* @__PURE__ */ jsx52(RichTextEditor.H2, {}),
7004
- /* @__PURE__ */ jsx52(RichTextEditor.H3, {}),
7005
- /* @__PURE__ */ jsx52(RichTextEditor.H4, {})
7005
+ /* @__PURE__ */ jsxs29(RichTextEditor.ControlsGroup, { children: [
7006
+ /* @__PURE__ */ jsx53(RichTextEditor.H1, {}),
7007
+ /* @__PURE__ */ jsx53(RichTextEditor.H2, {}),
7008
+ /* @__PURE__ */ jsx53(RichTextEditor.H3, {}),
7009
+ /* @__PURE__ */ jsx53(RichTextEditor.H4, {})
7006
7010
  ] }),
7007
- /* @__PURE__ */ jsxs28(RichTextEditor.ControlsGroup, { children: [
7008
- /* @__PURE__ */ jsx52(RichTextEditor.Blockquote, {}),
7009
- /* @__PURE__ */ jsx52(RichTextEditor.Hr, {}),
7010
- /* @__PURE__ */ jsx52(RichTextEditor.BulletList, {}),
7011
- /* @__PURE__ */ jsx52(RichTextEditor.OrderedList, {}),
7012
- /* @__PURE__ */ jsx52(RichTextEditor.Subscript, {}),
7013
- /* @__PURE__ */ jsx52(RichTextEditor.Superscript, {})
7011
+ /* @__PURE__ */ jsxs29(RichTextEditor.ControlsGroup, { children: [
7012
+ /* @__PURE__ */ jsx53(RichTextEditor.Blockquote, {}),
7013
+ /* @__PURE__ */ jsx53(RichTextEditor.Hr, {}),
7014
+ /* @__PURE__ */ jsx53(RichTextEditor.BulletList, {}),
7015
+ /* @__PURE__ */ jsx53(RichTextEditor.OrderedList, {}),
7016
+ /* @__PURE__ */ jsx53(RichTextEditor.Subscript, {}),
7017
+ /* @__PURE__ */ jsx53(RichTextEditor.Superscript, {})
7014
7018
  ] }),
7015
- /* @__PURE__ */ jsxs28(RichTextEditor.ControlsGroup, { children: [
7016
- /* @__PURE__ */ jsx52(RichTextEditor.Link, {}),
7017
- /* @__PURE__ */ jsx52(RichTextEditor.Unlink, {})
7019
+ /* @__PURE__ */ jsxs29(RichTextEditor.ControlsGroup, { children: [
7020
+ /* @__PURE__ */ jsx53(RichTextEditor.Link, {}),
7021
+ /* @__PURE__ */ jsx53(RichTextEditor.Unlink, {})
7018
7022
  ] }),
7019
- /* @__PURE__ */ jsxs28(RichTextEditor.ControlsGroup, { children: [
7020
- /* @__PURE__ */ jsx52(RichTextEditor.AlignLeft, {}),
7021
- /* @__PURE__ */ jsx52(RichTextEditor.AlignCenter, {}),
7022
- /* @__PURE__ */ jsx52(RichTextEditor.AlignJustify, {}),
7023
- /* @__PURE__ */ jsx52(RichTextEditor.AlignRight, {})
7023
+ /* @__PURE__ */ jsxs29(RichTextEditor.ControlsGroup, { children: [
7024
+ /* @__PURE__ */ jsx53(RichTextEditor.AlignLeft, {}),
7025
+ /* @__PURE__ */ jsx53(RichTextEditor.AlignCenter, {}),
7026
+ /* @__PURE__ */ jsx53(RichTextEditor.AlignJustify, {}),
7027
+ /* @__PURE__ */ jsx53(RichTextEditor.AlignRight, {})
7024
7028
  ] })
7025
7029
  ] }),
7026
- /* @__PURE__ */ jsx52(
7030
+ /* @__PURE__ */ jsx53(
7027
7031
  ScrollArea2.Autosize,
7028
7032
  {
7029
7033
  onMouseDown: () => {
@@ -7038,7 +7042,7 @@ function MyTextEditor(_a) {
7038
7042
  setHiddenToolBar(false);
7039
7043
  },
7040
7044
  style: { cursor: "text", maxHeight: "400px" },
7041
- children: /* @__PURE__ */ jsx52(RichTextEditor.Content, { mih: contentHeight })
7045
+ children: /* @__PURE__ */ jsx53(RichTextEditor.Content, { mih: contentHeight })
7042
7046
  }
7043
7047
  )
7044
7048
  ] }) });
@@ -7050,12 +7054,12 @@ import {
7050
7054
  AppShell,
7051
7055
  Badge as Badge2,
7052
7056
  Divider as Divider2,
7053
- Group as Group12,
7057
+ Group as Group13,
7054
7058
  Image as Image3,
7055
7059
  NavLink,
7056
7060
  ScrollArea as ScrollArea3,
7057
7061
  Select as Select4,
7058
- Text as Text12,
7062
+ Text as Text13,
7059
7063
  TextInput as TextInput2,
7060
7064
  Tooltip as Tooltip5
7061
7065
  } from "@mantine/core";
@@ -7069,22 +7073,22 @@ import {
7069
7073
  } from "@tabler/icons-react";
7070
7074
  import Link3 from "next/link";
7071
7075
  import { usePathname as usePathname2 } from "next/navigation";
7072
- import { Fragment as Fragment12, jsx as jsx53, jsxs as jsxs29 } from "react/jsx-runtime";
7076
+ import { Fragment as Fragment12, jsx as jsx54, jsxs as jsxs30 } from "react/jsx-runtime";
7073
7077
  function getRightSection(status) {
7074
7078
  if (status === "Prototype")
7075
- return /* @__PURE__ */ jsx53(Badge2, { styles: { root: { cursor: "pointer" } }, radius: "xs", color: "pink", circle: true, children: "P" });
7079
+ return /* @__PURE__ */ jsx54(Badge2, { styles: { root: { cursor: "pointer" } }, radius: "xs", color: "pink", circle: true, children: "P" });
7076
7080
  if (status === "New")
7077
- return /* @__PURE__ */ jsx53(Badge2, { styles: { root: { cursor: "pointer" } }, radius: "xs", circle: true, children: "N" });
7081
+ return /* @__PURE__ */ jsx54(Badge2, { styles: { root: { cursor: "pointer" } }, radius: "xs", circle: true, children: "N" });
7078
7082
  if (status === "Menu")
7079
- return /* @__PURE__ */ jsx53(Badge2, { styles: { root: { cursor: "pointer" } }, radius: "xs", color: "gray", circle: true, children: "M" });
7083
+ return /* @__PURE__ */ jsx54(Badge2, { styles: { root: { cursor: "pointer" } }, radius: "xs", color: "gray", circle: true, children: "M" });
7080
7084
  if (status === "Change")
7081
- return /* @__PURE__ */ jsx53(Badge2, { styles: { root: { cursor: "pointer" } }, radius: "xs", color: "green", circle: true, children: "C" });
7085
+ return /* @__PURE__ */ jsx54(Badge2, { styles: { root: { cursor: "pointer" } }, radius: "xs", color: "green", circle: true, children: "C" });
7082
7086
  return null;
7083
7087
  }
7084
7088
  function RenderNavLinks({ items }) {
7085
7089
  const basicAppShellStore = useS_BasicAppShell();
7086
7090
  const pathName = usePathname2();
7087
- return /* @__PURE__ */ jsx53(Fragment12, { children: items.map((item, index) => /* @__PURE__ */ jsx53(
7091
+ return /* @__PURE__ */ jsx54(Fragment12, { children: items.map((item, index) => /* @__PURE__ */ jsx54(
7088
7092
  NavLink,
7089
7093
  {
7090
7094
  active: item.link === pathName.split("/")[2],
@@ -7101,7 +7105,7 @@ function RenderNavLinks({ items }) {
7101
7105
  basicAppShellStore.setProperty("title", item.label);
7102
7106
  }
7103
7107
  },
7104
- children: item.links && /* @__PURE__ */ jsx53(RenderNavLinks, { items: item.links })
7108
+ children: item.links && /* @__PURE__ */ jsx54(RenderNavLinks, { items: item.links })
7105
7109
  },
7106
7110
  index
7107
7111
  )) });
@@ -7159,7 +7163,7 @@ function BasicAppShell({ children, menu }) {
7159
7163
  const basicAppShellStore = useS_BasicAppShell();
7160
7164
  const media = useMediaQuery("(min-width: 72em)");
7161
7165
  const selectMedia = useMediaQuery("(min-width: 80em)");
7162
- return /* @__PURE__ */ jsxs29(
7166
+ return /* @__PURE__ */ jsxs30(
7163
7167
  AppShell,
7164
7168
  {
7165
7169
  header: { height: 60 },
@@ -7173,51 +7177,51 @@ function BasicAppShell({ children, menu }) {
7173
7177
  },
7174
7178
  padding: "md",
7175
7179
  children: [
7176
- /* @__PURE__ */ jsxs29(AppShell.Header, { children: [
7177
- /* @__PURE__ */ jsx53(MyAppSpotlight, { menu }),
7178
- media ? /* @__PURE__ */ jsxs29(Group12, { h: "100%", px: "md", justify: "space-between", align: "center", children: [
7179
- /* @__PURE__ */ jsxs29(Group12, { h: "100%", children: [
7180
- /* @__PURE__ */ jsx53(
7180
+ /* @__PURE__ */ jsxs30(AppShell.Header, { children: [
7181
+ /* @__PURE__ */ jsx54(MyAppSpotlight, { menu }),
7182
+ media ? /* @__PURE__ */ jsxs30(Group13, { h: "100%", px: "md", justify: "space-between", align: "center", children: [
7183
+ /* @__PURE__ */ jsxs30(Group13, { h: "100%", children: [
7184
+ /* @__PURE__ */ jsx54(
7181
7185
  Tooltip5,
7182
7186
  {
7183
7187
  label: basicAppShellStore.state.opened ? "\u1EA8n thanh menu" : "Hi\u1EC7n thanh menu",
7184
- children: /* @__PURE__ */ jsx53(
7188
+ children: /* @__PURE__ */ jsx54(
7185
7189
  ActionIcon10,
7186
7190
  {
7187
7191
  size: "lg",
7188
7192
  radius: "md",
7189
7193
  variant: "default",
7190
7194
  onClick: basicAppShellStore.toggle,
7191
- children: basicAppShellStore.state.opened ? /* @__PURE__ */ jsx53(IconLayoutSidebarLeftExpand, {}) : /* @__PURE__ */ jsx53(IconLayoutSidebarLeftCollapse, {})
7195
+ children: basicAppShellStore.state.opened ? /* @__PURE__ */ jsx54(IconLayoutSidebarLeftExpand, {}) : /* @__PURE__ */ jsx54(IconLayoutSidebarLeftCollapse, {})
7192
7196
  }
7193
7197
  )
7194
7198
  }
7195
7199
  ),
7196
- /* @__PURE__ */ jsx53(Tooltip5, { label: "\u0110\xF3ng t\u1EA5t c\u1EA3 menu", children: /* @__PURE__ */ jsx53(
7200
+ /* @__PURE__ */ jsx54(Tooltip5, { label: "\u0110\xF3ng t\u1EA5t c\u1EA3 menu", children: /* @__PURE__ */ jsx54(
7197
7201
  ActionIcon10,
7198
7202
  {
7199
7203
  size: "lg",
7200
7204
  radius: "md",
7201
7205
  variant: "default",
7202
7206
  onClick: () => basicAppShellStore.clearGroupMenuOpenId(),
7203
- children: /* @__PURE__ */ jsx53(IconLibraryMinus, {})
7207
+ children: /* @__PURE__ */ jsx54(IconLibraryMinus, {})
7204
7208
  }
7205
7209
  ) })
7206
7210
  ] }),
7207
- /* @__PURE__ */ jsx53(
7208
- Group12,
7211
+ /* @__PURE__ */ jsx54(
7212
+ Group13,
7209
7213
  {
7210
7214
  style: {
7211
7215
  position: "absolute",
7212
7216
  left: "50%",
7213
7217
  transform: "translateX(-50%)"
7214
7218
  },
7215
- children: /* @__PURE__ */ jsx53(Text12, { c: "green", fw: "bold", children: `${basicAppShellStore.state.moduleCode} - ${basicAppShellStore.state.moduleName}` })
7219
+ children: /* @__PURE__ */ jsx54(Text13, { c: "green", fw: "bold", children: `${basicAppShellStore.state.moduleCode} - ${basicAppShellStore.state.moduleName}` })
7216
7220
  }
7217
7221
  ),
7218
- /* @__PURE__ */ jsxs29(Group12, { children: [
7219
- /* @__PURE__ */ jsx53(Text12, { children: "H\u1ECDc k\u1EF3 l\xE0m vi\u1EC7c" }),
7220
- /* @__PURE__ */ jsx53(
7222
+ /* @__PURE__ */ jsxs30(Group13, { children: [
7223
+ /* @__PURE__ */ jsx54(Text13, { children: "H\u1ECDc k\u1EF3 l\xE0m vi\u1EC7c" }),
7224
+ /* @__PURE__ */ jsx54(
7221
7225
  Select4,
7222
7226
  {
7223
7227
  w: selectMedia ? 245 : 150,
@@ -7229,24 +7233,24 @@ function BasicAppShell({ children, menu }) {
7229
7233
  ]
7230
7234
  }
7231
7235
  ),
7232
- /* @__PURE__ */ jsx53(MySwitchTheme, {})
7236
+ /* @__PURE__ */ jsx54(MySwitchTheme, {})
7233
7237
  ] })
7234
7238
  ] }) : (
7235
7239
  // For mobile screens - simplified layout
7236
- /* @__PURE__ */ jsxs29(Group12, { h: "100%", px: "md", justify: "space-between", children: [
7237
- /* @__PURE__ */ jsx53(
7240
+ /* @__PURE__ */ jsxs30(Group13, { h: "100%", px: "md", justify: "space-between", children: [
7241
+ /* @__PURE__ */ jsx54(
7238
7242
  ActionIcon10,
7239
7243
  {
7240
7244
  size: "lg",
7241
7245
  radius: "md",
7242
7246
  variant: "default",
7243
7247
  onClick: basicAppShellStore.toggle,
7244
- children: basicAppShellStore.state.opened ? /* @__PURE__ */ jsx53(IconLayoutSidebarLeftExpand, {}) : /* @__PURE__ */ jsx53(IconLayoutSidebarLeftCollapse, {})
7248
+ children: basicAppShellStore.state.opened ? /* @__PURE__ */ jsx54(IconLayoutSidebarLeftExpand, {}) : /* @__PURE__ */ jsx54(IconLayoutSidebarLeftCollapse, {})
7245
7249
  }
7246
7250
  ),
7247
- /* @__PURE__ */ jsx53(Text12, { c: "green", fw: "bold", size: "sm", children: `${basicAppShellStore.state.moduleCode} - ${basicAppShellStore.state.moduleName}` }),
7248
- /* @__PURE__ */ jsxs29(Group12, { children: [
7249
- /* @__PURE__ */ jsx53(
7251
+ /* @__PURE__ */ jsx54(Text13, { c: "green", fw: "bold", size: "sm", children: `${basicAppShellStore.state.moduleCode} - ${basicAppShellStore.state.moduleName}` }),
7252
+ /* @__PURE__ */ jsxs30(Group13, { children: [
7253
+ /* @__PURE__ */ jsx54(
7250
7254
  Select4,
7251
7255
  {
7252
7256
  w: 100,
@@ -7259,13 +7263,13 @@ function BasicAppShell({ children, menu }) {
7259
7263
  ]
7260
7264
  }
7261
7265
  ),
7262
- /* @__PURE__ */ jsx53(MySwitchTheme, {})
7266
+ /* @__PURE__ */ jsx54(MySwitchTheme, {})
7263
7267
  ] })
7264
7268
  ] })
7265
7269
  )
7266
7270
  ] }),
7267
- /* @__PURE__ */ jsxs29(AppShell.Navbar, { children: [
7268
- /* @__PURE__ */ jsx53(
7271
+ /* @__PURE__ */ jsxs30(AppShell.Navbar, { children: [
7272
+ /* @__PURE__ */ jsx54(
7269
7273
  TextInput2,
7270
7274
  {
7271
7275
  mt: "md",
@@ -7273,18 +7277,18 @@ function BasicAppShell({ children, menu }) {
7273
7277
  mx: 10,
7274
7278
  component: "button",
7275
7279
  onClick: spotlight2.open,
7276
- leftSection: /* @__PURE__ */ jsx53(IconSearch2, {}),
7280
+ leftSection: /* @__PURE__ */ jsx54(IconSearch2, {}),
7277
7281
  children: "T\xECm ki\u1EBFm (Ctrl + K)"
7278
7282
  }
7279
7283
  ),
7280
- /* @__PURE__ */ jsxs29(AppShell.Section, { grow: true, component: ScrollArea3, p: 5, children: [
7281
- /* @__PURE__ */ jsx53(RenderNavLinks, { items: menu }),
7282
- /* @__PURE__ */ jsx53(Divider2, {}),
7283
- /* @__PURE__ */ jsx53(F_Authenticate_Logout, {})
7284
+ /* @__PURE__ */ jsxs30(AppShell.Section, { grow: true, component: ScrollArea3, p: 5, children: [
7285
+ /* @__PURE__ */ jsx54(RenderNavLinks, { items: menu }),
7286
+ /* @__PURE__ */ jsx54(Divider2, {}),
7287
+ /* @__PURE__ */ jsx54(F_Authenticate_Logout, {})
7284
7288
  ] }),
7285
- /* @__PURE__ */ jsxs29(AppShell.Section, { p: "md", children: [
7286
- /* @__PURE__ */ jsx53(Divider2, {}),
7287
- /* @__PURE__ */ jsx53(
7289
+ /* @__PURE__ */ jsxs30(AppShell.Section, { p: "md", children: [
7290
+ /* @__PURE__ */ jsx54(Divider2, {}),
7291
+ /* @__PURE__ */ jsx54(
7288
7292
  Image3,
7289
7293
  {
7290
7294
  fit: "contain",
@@ -7298,7 +7302,7 @@ function BasicAppShell({ children, menu }) {
7298
7302
  )
7299
7303
  ] })
7300
7304
  ] }),
7301
- /* @__PURE__ */ jsx53(
7305
+ /* @__PURE__ */ jsx54(
7302
7306
  AppShell.Main,
7303
7307
  {
7304
7308
  bg: "light-dark(var(--mantine-color-gray-1), var(--mantine-color-dark-8))",
@@ -7352,11 +7356,11 @@ function utils_layout_getItemsWithoutLinks(menu) {
7352
7356
  }
7353
7357
 
7354
7358
  // src/components/Layouts/Container/MyContainer.tsx
7355
- import { Container, Flex as Flex4 } from "@mantine/core";
7356
- import { jsx as jsx54 } from "react/jsx-runtime";
7359
+ import { Container, Flex as Flex5 } from "@mantine/core";
7360
+ import { jsx as jsx55 } from "react/jsx-runtime";
7357
7361
  function MyContainer(_a) {
7358
7362
  var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
7359
- return /* @__PURE__ */ jsx54(Container, __spreadProps(__spreadValues({ fluid: true }, rest), { children: /* @__PURE__ */ jsx54(Flex4, { direction: "column", children }) }));
7363
+ return /* @__PURE__ */ jsx55(Container, __spreadProps(__spreadValues({ fluid: true }, rest), { children: /* @__PURE__ */ jsx55(Flex5, { direction: "column", children }) }));
7360
7364
  }
7361
7365
 
7362
7366
  // src/constants/object/color.ts
@@ -7368,16 +7372,16 @@ var OBJECT_COlORS = {
7368
7372
 
7369
7373
  // src/components/Layouts/HeaderMegaMenu/HeaderMegaMenu.tsx
7370
7374
  import {
7371
- Box as Box4,
7375
+ Box as Box5,
7372
7376
  Burger,
7373
- Button as Button14,
7377
+ Button as Button15,
7374
7378
  Container as Container2,
7375
7379
  Divider as Divider3,
7376
7380
  Drawer,
7377
- Group as Group13,
7381
+ Group as Group14,
7378
7382
  Image as Image4,
7379
7383
  ScrollArea as ScrollArea4,
7380
- Text as Text13,
7384
+ Text as Text14,
7381
7385
  TextInput as TextInput3,
7382
7386
  ThemeIcon,
7383
7387
  UnstyledButton,
@@ -7409,7 +7413,7 @@ function useHeaderMegaMenuStore() {
7409
7413
  }
7410
7414
 
7411
7415
  // src/components/Layouts/HeaderMegaMenu/HeaderMegaMenu.tsx
7412
- import { jsx as jsx55, jsxs as jsxs30 } from "react/jsx-runtime";
7416
+ import { jsx as jsx56, jsxs as jsxs31 } from "react/jsx-runtime";
7413
7417
  var mockdata = [
7414
7418
  {
7415
7419
  icon: IconCode,
@@ -7447,27 +7451,27 @@ function HeaderMegaMenu({ children, menus }) {
7447
7451
  const [linksOpened, { toggle: toggleLinks }] = useDisclosure10(false);
7448
7452
  const HeaderMegaMenuStore = useHeaderMegaMenuStore();
7449
7453
  const theme = useMantineTheme();
7450
- const links = mockdata.map((item) => /* @__PURE__ */ jsx55(UnstyledButton, { className: css_default2.subLink, children: /* @__PURE__ */ jsxs30(Group13, { wrap: "nowrap", align: "flex-start", children: [
7451
- /* @__PURE__ */ jsx55(ThemeIcon, { size: 34, variant: "default", radius: "md", children: /* @__PURE__ */ jsx55(item.icon, { size: 22, color: theme.colors.blue[6] }) }),
7452
- /* @__PURE__ */ jsxs30("div", { children: [
7453
- /* @__PURE__ */ jsx55(Text13, { size: "sm", fw: 500, children: item.title }),
7454
- /* @__PURE__ */ jsx55(Text13, { size: "xs", c: "dimmed", children: item.description })
7454
+ const links = mockdata.map((item) => /* @__PURE__ */ jsx56(UnstyledButton, { className: css_default2.subLink, children: /* @__PURE__ */ jsxs31(Group14, { wrap: "nowrap", align: "flex-start", children: [
7455
+ /* @__PURE__ */ jsx56(ThemeIcon, { size: 34, variant: "default", radius: "md", children: /* @__PURE__ */ jsx56(item.icon, { size: 22, color: theme.colors.blue[6] }) }),
7456
+ /* @__PURE__ */ jsxs31("div", { children: [
7457
+ /* @__PURE__ */ jsx56(Text14, { size: "sm", fw: 500, children: item.title }),
7458
+ /* @__PURE__ */ jsx56(Text14, { size: "xs", c: "dimmed", children: item.description })
7455
7459
  ] })
7456
7460
  ] }) }, item.title));
7457
- return /* @__PURE__ */ jsxs30(Box4, { children: [
7458
- /* @__PURE__ */ jsx55("header", { className: css_default2.header, children: /* @__PURE__ */ jsxs30(Group13, { justify: "space-between", h: "100%", children: [
7459
- /* @__PURE__ */ jsxs30(Group13, { children: [
7460
- /* @__PURE__ */ jsx55(Image4, { src: "/imgs/0/IMG0LogoAQTech.png", h: 30, alt: "", w: "auto" }),
7461
- /* @__PURE__ */ jsx55(Group13, { h: "100%", gap: 5, visibleFrom: "sm", children: menus == null ? void 0 : menus.map((item, idx) => /* @__PURE__ */ jsx55(Button14, { component: Link4, href: item.href, variant: HeaderMegaMenuStore.state.name == item.label ? "light" : "subtle", onClick: () => HeaderMegaMenuStore.setState({ name: item.label }), children: item.label }, idx)) })
7461
+ return /* @__PURE__ */ jsxs31(Box5, { children: [
7462
+ /* @__PURE__ */ jsx56("header", { className: css_default2.header, children: /* @__PURE__ */ jsxs31(Group14, { justify: "space-between", h: "100%", children: [
7463
+ /* @__PURE__ */ jsxs31(Group14, { children: [
7464
+ /* @__PURE__ */ jsx56(Image4, { src: "/imgs/0/IMG0LogoAQTech.png", h: 30, alt: "", w: "auto" }),
7465
+ /* @__PURE__ */ jsx56(Group14, { h: "100%", gap: 5, visibleFrom: "sm", children: menus == null ? void 0 : menus.map((item, idx) => /* @__PURE__ */ jsx56(Button15, { component: Link4, href: item.href, variant: HeaderMegaMenuStore.state.name == item.label ? "light" : "subtle", onClick: () => HeaderMegaMenuStore.setState({ name: item.label }), children: item.label }, idx)) })
7462
7466
  ] }),
7463
- /* @__PURE__ */ jsxs30(Group13, { children: [
7464
- /* @__PURE__ */ jsx55(TextInput3, { placeholder: "T\xECm ki\u1EBFm", leftSection: /* @__PURE__ */ jsx55(IconSearch3, {}), radius: "xl", w: "250px" }),
7465
- /* @__PURE__ */ jsx55(MySwitchTheme, {})
7467
+ /* @__PURE__ */ jsxs31(Group14, { children: [
7468
+ /* @__PURE__ */ jsx56(TextInput3, { placeholder: "T\xECm ki\u1EBFm", leftSection: /* @__PURE__ */ jsx56(IconSearch3, {}), radius: "xl", w: "250px" }),
7469
+ /* @__PURE__ */ jsx56(MySwitchTheme, {})
7466
7470
  ] }),
7467
- /* @__PURE__ */ jsx55(Burger, { opened: drawerOpened, onClick: toggleDrawer, hiddenFrom: "sm" })
7471
+ /* @__PURE__ */ jsx56(Burger, { opened: drawerOpened, onClick: toggleDrawer, hiddenFrom: "sm" })
7468
7472
  ] }) }),
7469
- /* @__PURE__ */ jsx55(Container2, { fluid: true, pt: "sm", pb: "md", bg: OBJECT_COlORS.mantineBackgroundSecondary, mih: "93vh", children }),
7470
- /* @__PURE__ */ jsx55(
7473
+ /* @__PURE__ */ jsx56(Container2, { fluid: true, pt: "sm", pb: "md", bg: OBJECT_COlORS.mantineBackgroundSecondary, mih: "93vh", children }),
7474
+ /* @__PURE__ */ jsx56(
7471
7475
  Drawer,
7472
7476
  {
7473
7477
  opened: drawerOpened,
@@ -7477,10 +7481,10 @@ function HeaderMegaMenu({ children, menus }) {
7477
7481
  title: "Navigation",
7478
7482
  hiddenFrom: "sm",
7479
7483
  zIndex: 1e6,
7480
- children: /* @__PURE__ */ jsxs30(ScrollArea4, { h: "calc(100vh - 80px", mx: "-md", children: [
7481
- /* @__PURE__ */ jsx55(Divider3, { my: "sm" }),
7482
- /* @__PURE__ */ jsx55(MyFlexColumn, { h: "100%", gap: 0, children: menus == null ? void 0 : menus.map((item, idx) => /* @__PURE__ */ jsx55(Button14, { component: Link4, href: item.href, variant: HeaderMegaMenuStore.state.name == item.label ? "light" : "subtle", onClick: () => HeaderMegaMenuStore.setState({ name: item.label }), children: item.label }, idx)) }),
7483
- /* @__PURE__ */ jsx55(Divider3, { my: "sm" })
7484
+ children: /* @__PURE__ */ jsxs31(ScrollArea4, { h: "calc(100vh - 80px", mx: "-md", children: [
7485
+ /* @__PURE__ */ jsx56(Divider3, { my: "sm" }),
7486
+ /* @__PURE__ */ jsx56(MyFlexColumn, { h: "100%", gap: 0, children: menus == null ? void 0 : menus.map((item, idx) => /* @__PURE__ */ jsx56(Button15, { component: Link4, href: item.href, variant: HeaderMegaMenuStore.state.name == item.label ? "light" : "subtle", onClick: () => HeaderMegaMenuStore.setState({ name: item.label }), children: item.label }, idx)) }),
7487
+ /* @__PURE__ */ jsx56(Divider3, { my: "sm" })
7484
7488
  ] })
7485
7489
  }
7486
7490
  )
@@ -7488,8 +7492,8 @@ function HeaderMegaMenu({ children, menus }) {
7488
7492
  }
7489
7493
 
7490
7494
  // src/components/Layouts/PageContent/MyPageContent.tsx
7491
- import { Code, Container as Container3, Divider as Divider4, Group as Group14, Indicator, Title } from "@mantine/core";
7492
- import { jsx as jsx56, jsxs as jsxs31 } from "react/jsx-runtime";
7495
+ import { Code, Container as Container3, Divider as Divider4, Group as Group15, Indicator, Title } from "@mantine/core";
7496
+ import { jsx as jsx57, jsxs as jsxs32 } from "react/jsx-runtime";
7493
7497
  var getStatusColor = (status) => {
7494
7498
  switch (status) {
7495
7499
  case "Prototype":
@@ -7502,7 +7506,7 @@ var getStatusColor = (status) => {
7502
7506
  };
7503
7507
  var PageTitle = ({ title: title3, status }) => {
7504
7508
  const color = getStatusColor(status);
7505
- return /* @__PURE__ */ jsx56(Indicator, { label: status, size: 16, inline: true, color, disabled: !status, pt: 6, children: /* @__PURE__ */ jsx56(Title, { order: 4, children: title3 }) });
7509
+ return /* @__PURE__ */ jsx57(Indicator, { label: status, size: 16, inline: true, color, disabled: !status, pt: 6, children: /* @__PURE__ */ jsx57(Title, { order: 4, children: title3 }) });
7506
7510
  };
7507
7511
  function MyPageContent({
7508
7512
  leftTopBar,
@@ -7514,69 +7518,69 @@ function MyPageContent({
7514
7518
  }) {
7515
7519
  const basicAppShellStore = useS_BasicAppShell();
7516
7520
  const finalTitle = title3 || basicAppShellStore.state.title;
7517
- return /* @__PURE__ */ jsxs31(Container3, { p: 0, fluid: true, children: [
7518
- /* @__PURE__ */ jsxs31(Group14, { justify: "space-between", children: [
7519
- /* @__PURE__ */ jsxs31(Group14, { children: [
7520
- canBack && /* @__PURE__ */ jsx56(MyButtonRouterBack, {}),
7521
- /* @__PURE__ */ jsx56(PageTitle, { title: finalTitle, status }),
7521
+ return /* @__PURE__ */ jsxs32(Container3, { p: 0, fluid: true, children: [
7522
+ /* @__PURE__ */ jsxs32(Group15, { justify: "space-between", children: [
7523
+ /* @__PURE__ */ jsxs32(Group15, { children: [
7524
+ canBack && /* @__PURE__ */ jsx57(MyButtonRouterBack, {}),
7525
+ /* @__PURE__ */ jsx57(PageTitle, { title: finalTitle, status }),
7522
7526
  leftTopBar
7523
7527
  ] }),
7524
- /* @__PURE__ */ jsxs31(Group14, { children: [
7528
+ /* @__PURE__ */ jsxs32(Group15, { children: [
7525
7529
  rightTopBar,
7526
- /* @__PURE__ */ jsx56(Code, { color: "var(--mantine-color-blue-light)", children: basicAppShellStore.state.menuCode })
7530
+ /* @__PURE__ */ jsx57(Code, { color: "var(--mantine-color-blue-light)", children: basicAppShellStore.state.menuCode })
7527
7531
  ] })
7528
7532
  ] }),
7529
- /* @__PURE__ */ jsx56(Divider4, { my: "xs" }),
7533
+ /* @__PURE__ */ jsx57(Divider4, { my: "xs" }),
7530
7534
  children
7531
7535
  ] });
7532
7536
  }
7533
7537
 
7534
7538
  // src/components/Layouts/Tab/MyTab.tsx
7535
7539
  import { rem, Space as Space4, Tabs } from "@mantine/core";
7536
- import { jsx as jsx57, jsxs as jsxs32 } from "react/jsx-runtime";
7540
+ import { jsx as jsx58, jsxs as jsxs33 } from "react/jsx-runtime";
7537
7541
  function MyTab(_a) {
7538
7542
  var _b = _a, { tabList, children } = _b, rest = __objRest(_b, ["tabList", "children"]);
7539
7543
  const iconStyle = { width: rem(20), height: rem(20) };
7540
- return /* @__PURE__ */ jsxs32(Tabs, __spreadProps(__spreadValues({ defaultValue: tabList[0].label }, rest), { children: [
7541
- /* @__PURE__ */ jsx57(Tabs.List, { children: tabList.map((item, idx) => {
7542
- return /* @__PURE__ */ jsx57(Tabs.Tab, { value: item.label, leftSection: item.icon && /* @__PURE__ */ jsx57(item.icon, { style: iconStyle }), children: item.label }, idx);
7544
+ return /* @__PURE__ */ jsxs33(Tabs, __spreadProps(__spreadValues({ defaultValue: tabList[0].label }, rest), { children: [
7545
+ /* @__PURE__ */ jsx58(Tabs.List, { children: tabList.map((item, idx) => {
7546
+ return /* @__PURE__ */ jsx58(Tabs.Tab, { value: item.label, leftSection: item.icon && /* @__PURE__ */ jsx58(item.icon, { style: iconStyle }), children: item.label }, idx);
7543
7547
  }) }),
7544
- /* @__PURE__ */ jsx57(Space4, { my: "md" }),
7548
+ /* @__PURE__ */ jsx58(Space4, { my: "md" }),
7545
7549
  children
7546
7550
  ] }));
7547
7551
  }
7548
7552
 
7549
7553
  // src/components/RESTAPIComponents/DataTableSelect/MyDataTableSelect.tsx
7550
- import { ActionIcon as ActionIcon11, Button as Button15, Fieldset as Fieldset5, Group as Group15, Modal as Modal11 } from "@mantine/core";
7554
+ import { ActionIcon as ActionIcon11, Button as Button16, Fieldset as Fieldset5, Group as Group16, Modal as Modal11 } from "@mantine/core";
7551
7555
  import { useDisclosure as useDisclosure11 } from "@mantine/hooks";
7552
7556
  import { IconX as IconX2 } from "@tabler/icons-react";
7553
- import { jsx as jsx58, jsxs as jsxs33 } from "react/jsx-runtime";
7557
+ import { jsx as jsx59, jsxs as jsxs34 } from "react/jsx-runtime";
7554
7558
  function MyDataTableSelect(_a) {
7555
7559
  var _b = _a, { modalSize, renderTopToolbarCustomActions, data, selectButtonlabel, listState, columns, listLabel } = _b, rest = __objRest(_b, ["modalSize", "renderTopToolbarCustomActions", "data", "selectButtonlabel", "listState", "columns", "listLabel"]);
7556
7560
  const disc = useDisclosure11(false);
7557
7561
  if (data == void 0) return "\u0110ang t\u1EA3i...";
7558
- return /* @__PURE__ */ jsxs33(Fieldset5, { legend: listLabel ? listLabel : "Danh s\xE1ch", children: [
7559
- /* @__PURE__ */ jsx58(
7562
+ return /* @__PURE__ */ jsxs34(Fieldset5, { legend: listLabel ? listLabel : "Danh s\xE1ch", children: [
7563
+ /* @__PURE__ */ jsx59(
7560
7564
  MyDataTable,
7561
7565
  __spreadValues({
7562
7566
  renderTopToolbarCustomActions: ({ table }) => {
7563
- return /* @__PURE__ */ jsxs33(Group15, { children: [
7567
+ return /* @__PURE__ */ jsxs34(Group16, { children: [
7564
7568
  renderTopToolbarCustomActions && renderTopToolbarCustomActions({ table }),
7565
- /* @__PURE__ */ jsx58(Button15, { onClick: disc[1].open, children: selectButtonlabel || "Ch\u1ECDn t\u1EEB danh s\xE1ch" })
7569
+ /* @__PURE__ */ jsx59(Button16, { onClick: disc[1].open, children: selectButtonlabel || "Ch\u1ECDn t\u1EEB danh s\xE1ch" })
7566
7570
  ] });
7567
7571
  },
7568
7572
  columns,
7569
7573
  data: listState[0],
7570
7574
  renderRowActions: ({ row }) => {
7571
- return /* @__PURE__ */ jsx58(MyCenterFull, { children: /* @__PURE__ */ jsx58(ActionIcon11, { color: "red", onClick: () => listState[1].remove(row.index), children: /* @__PURE__ */ jsx58(IconX2, {}) }) });
7575
+ return /* @__PURE__ */ jsx59(MyCenterFull, { children: /* @__PURE__ */ jsx59(ActionIcon11, { color: "red", onClick: () => listState[1].remove(row.index), children: /* @__PURE__ */ jsx59(IconX2, {}) }) });
7572
7576
  }
7573
7577
  }, rest)
7574
7578
  ),
7575
- /* @__PURE__ */ jsx58(Modal11, { opened: disc[0], onClose: disc[1].close, size: modalSize || "80%", children: /* @__PURE__ */ jsx58(
7579
+ /* @__PURE__ */ jsx59(Modal11, { opened: disc[0], onClose: disc[1].close, size: modalSize || "80%", children: /* @__PURE__ */ jsx59(
7576
7580
  MyDataTable,
7577
7581
  __spreadValues({
7578
7582
  renderTopToolbarCustomActions: ({ table }) => {
7579
- return /* @__PURE__ */ jsx58(Button15, { onClick: () => {
7583
+ return /* @__PURE__ */ jsx59(Button16, { onClick: () => {
7580
7584
  table.getSelectedRowModel().rows.map((item) => listState[1].append(item.original));
7581
7585
  disc[1].close();
7582
7586
  }, children: "Ch\u1ECDn" });
@@ -7592,7 +7596,7 @@ function MyDataTableSelect(_a) {
7592
7596
  // src/components/RESTAPIComponents/SelectAPIGet/MySelectAPIGet.tsx
7593
7597
  import { Select as Select5 } from "@mantine/core";
7594
7598
  import { useQuery as useQuery4 } from "@tanstack/react-query";
7595
- import { jsx as jsx59 } from "react/jsx-runtime";
7599
+ import { jsx as jsx60 } from "react/jsx-runtime";
7596
7600
  function MySelectAPIGet(_a) {
7597
7601
  var _b = _a, { apiGet, label = "", dataMapper } = _b, rest = __objRest(_b, ["apiGet", "label", "dataMapper"]);
7598
7602
  var _a2;
@@ -7611,7 +7615,7 @@ function MySelectAPIGet(_a) {
7611
7615
  label: `${item.code}-${item.name}`
7612
7616
  };
7613
7617
  });
7614
- return /* @__PURE__ */ jsx59(
7618
+ return /* @__PURE__ */ jsx60(
7615
7619
  Select5,
7616
7620
  __spreadValues({
7617
7621
  label,
@@ -7626,7 +7630,7 @@ import { useNextCalendarApp as useNextCalendarApp2, ScheduleXCalendar as Schedul
7626
7630
  import { createEventsServicePlugin as createEventsServicePlugin2 } from "@schedule-x/events-service";
7627
7631
  import { useState as useState8 } from "react";
7628
7632
  import { createEventModalPlugin as createEventModalPlugin2 } from "@schedule-x/event-modal";
7629
- import { jsx as jsx60 } from "react/jsx-runtime";
7633
+ import { jsx as jsx61 } from "react/jsx-runtime";
7630
7634
  function MyScheduleX({
7631
7635
  values,
7632
7636
  timeGridEvent,
@@ -7651,7 +7655,7 @@ function MyScheduleX({
7651
7655
  events: values,
7652
7656
  plugins: [eventsService, eventModalPlugin]
7653
7657
  });
7654
- return /* @__PURE__ */ jsx60(
7658
+ return /* @__PURE__ */ jsx61(
7655
7659
  ScheduleXCalendar2,
7656
7660
  {
7657
7661
  calendarApp: calendar,
@@ -7665,9 +7669,9 @@ function MyScheduleX({
7665
7669
 
7666
7670
  // src/components/Skeletons/SkeletonTable/MySkeletonTable.tsx
7667
7671
  import { Skeleton } from "@mantine/core";
7668
- import { jsx as jsx61 } from "react/jsx-runtime";
7672
+ import { jsx as jsx62 } from "react/jsx-runtime";
7669
7673
  function MySkeletonTable({ h: h4 = 500 }) {
7670
- return /* @__PURE__ */ jsx61(Skeleton, { h: h4 });
7674
+ return /* @__PURE__ */ jsx62(Skeleton, { h: h4 });
7671
7675
  }
7672
7676
 
7673
7677
  // src/constants/object/documentTypes.ts
@@ -7682,7 +7686,7 @@ var OBJECT_DOCUMENT_TYPES = {
7682
7686
 
7683
7687
  // src/modules-features/admin/core/core12196/F_core12196_Create.tsx
7684
7688
  import { useForm as useForm2 } from "@mantine/form";
7685
- import { jsx as jsx62, jsxs as jsxs34 } from "react/jsx-runtime";
7689
+ import { jsx as jsx63, jsxs as jsxs35 } from "react/jsx-runtime";
7686
7690
  function F_core12196_Create({ FormTypeId }) {
7687
7691
  const form = useForm2({
7688
7692
  mode: "uncontrolled",
@@ -7694,7 +7698,7 @@ function F_core12196_Create({ FormTypeId }) {
7694
7698
  file: (value) => value ? null : "T\u1EC7p \u0111\xEDnh k\xE8m kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng"
7695
7699
  }
7696
7700
  });
7697
- return /* @__PURE__ */ jsxs34(
7701
+ return /* @__PURE__ */ jsxs35(
7698
7702
  MyButtonCreate,
7699
7703
  {
7700
7704
  objectName: "V\u0103n b\u1EA3n quy \u0111\u1ECBnh t\u1ED5 ch\u1EE9c",
@@ -7706,28 +7710,28 @@ function F_core12196_Create({ FormTypeId }) {
7706
7710
  }));
7707
7711
  },
7708
7712
  children: [
7709
- /* @__PURE__ */ jsx62(
7713
+ /* @__PURE__ */ jsx63(
7710
7714
  MyTextInput,
7711
7715
  __spreadValues({
7712
7716
  withAsterisk: true,
7713
7717
  label: "S\u1ED1 quy \u0111\u1ECBnh"
7714
7718
  }, form.getInputProps("decisionCode"))
7715
7719
  ),
7716
- /* @__PURE__ */ jsx62(
7720
+ /* @__PURE__ */ jsx63(
7717
7721
  MyDateInput,
7718
7722
  __spreadValues({
7719
7723
  withAsterisk: true,
7720
7724
  label: "Ng\xE0y ban h\xE0nh"
7721
7725
  }, form.getInputProps("promulgateDate"))
7722
7726
  ),
7723
- /* @__PURE__ */ jsx62(
7727
+ /* @__PURE__ */ jsx63(
7724
7728
  MyTextInput,
7725
7729
  __spreadValues({
7726
7730
  withAsterisk: true,
7727
7731
  label: "T\xEAn t\xE0i li\u1EC7u"
7728
7732
  }, form.getInputProps("name"))
7729
7733
  ),
7730
- /* @__PURE__ */ jsx62(
7734
+ /* @__PURE__ */ jsx63(
7731
7735
  F_core18256_Select,
7732
7736
  __spreadValues({
7733
7737
  withAsterisk: true,
@@ -7735,14 +7739,14 @@ function F_core12196_Create({ FormTypeId }) {
7735
7739
  documentTypeId: FormTypeId
7736
7740
  }, form.getInputProps("documentAttributeId"))
7737
7741
  ),
7738
- /* @__PURE__ */ jsx62(
7742
+ /* @__PURE__ */ jsx63(
7739
7743
  MyFileInput,
7740
7744
  __spreadValues({
7741
7745
  withAsterisk: true,
7742
7746
  label: "V\u0103n b\u1EA3n"
7743
7747
  }, form.getInputProps("file"))
7744
7748
  ),
7745
- /* @__PURE__ */ jsx62(
7749
+ /* @__PURE__ */ jsx63(
7746
7750
  MyNumberInput,
7747
7751
  __spreadValues({
7748
7752
  label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch"
@@ -7754,15 +7758,15 @@ function F_core12196_Create({ FormTypeId }) {
7754
7758
  }
7755
7759
 
7756
7760
  // src/modules-features/admin/core/core12196/F_core12196.tsx
7757
- import { Paper as Paper7, Space as Space5 } from "@mantine/core";
7758
- import { jsx as jsx63, jsxs as jsxs35 } from "react/jsx-runtime";
7761
+ import { Paper as Paper8, Space as Space5 } from "@mantine/core";
7762
+ import { jsx as jsx64, jsxs as jsxs36 } from "react/jsx-runtime";
7759
7763
  function F_core12196({
7760
7764
  FormTypeId
7761
7765
  }) {
7762
- return /* @__PURE__ */ jsxs35(Paper7, { p: "md", children: [
7763
- /* @__PURE__ */ jsx63(MyFlexEnd, { children: /* @__PURE__ */ jsx63(F_core12196_Create, { FormTypeId }) }),
7764
- /* @__PURE__ */ jsx63(Space5, {}),
7765
- /* @__PURE__ */ jsx63(F_core12196_Read, { FormTypeId })
7766
+ return /* @__PURE__ */ jsxs36(Paper8, { p: "md", children: [
7767
+ /* @__PURE__ */ jsx64(MyFlexEnd, { children: /* @__PURE__ */ jsx64(F_core12196_Create, { FormTypeId }) }),
7768
+ /* @__PURE__ */ jsx64(Space5, {}),
7769
+ /* @__PURE__ */ jsx64(F_core12196_Read, { FormTypeId })
7766
7770
  ] });
7767
7771
  }
7768
7772
 
@@ -7773,7 +7777,7 @@ import { useMemo as useMemo4 } from "react";
7773
7777
  // src/modules-features/admin/core/core16209/F_core16209_Create.tsx
7774
7778
  import { FileInput as FileInput4, Textarea as Textarea2 } from "@mantine/core";
7775
7779
  import { useForm as useForm3 } from "@mantine/form";
7776
- import { jsx as jsx64, jsxs as jsxs36 } from "react/jsx-runtime";
7780
+ import { jsx as jsx65, jsxs as jsxs37 } from "react/jsx-runtime";
7777
7781
  function F_core16209_Create({
7778
7782
  RefinementTypeId
7779
7783
  }) {
@@ -7788,7 +7792,7 @@ function F_core16209_Create({
7788
7792
  endDate: (value, values) => value && values.startDate && new Date(value) > new Date(values.startDate) ? null : "Ng\xE0y k\u1EBFt th\xFAc ph\u1EA3i l\u1EDBn h\u01A1n ng\xE0y b\u1EAFt \u0111\u1EA7u"
7789
7793
  }
7790
7794
  });
7791
- return /* @__PURE__ */ jsxs36(
7795
+ return /* @__PURE__ */ jsxs37(
7792
7796
  MyButtonCreate,
7793
7797
  {
7794
7798
  objectName: "v\u0103n b\u1EA3n",
@@ -7801,43 +7805,43 @@ function F_core16209_Create({
7801
7805
  }));
7802
7806
  },
7803
7807
  children: [
7804
- /* @__PURE__ */ jsx64(
7808
+ /* @__PURE__ */ jsx65(
7805
7809
  MyDateInput,
7806
7810
  __spreadValues({
7807
7811
  withAsterisk: true,
7808
7812
  label: "Ng\xE0y h\u1ECDp"
7809
7813
  }, form.getInputProps("meetingDate"))
7810
7814
  ),
7811
- /* @__PURE__ */ jsx64(
7815
+ /* @__PURE__ */ jsx65(
7812
7816
  MyTextInput,
7813
7817
  __spreadValues({
7814
7818
  withAsterisk: true,
7815
7819
  label: "\u0110\u01A1n v\u1ECB y\xEAu c\u1EA7u"
7816
7820
  }, form.getInputProps("departmentName"))
7817
7821
  ),
7818
- /* @__PURE__ */ jsx64(
7822
+ /* @__PURE__ */ jsx65(
7819
7823
  MyTextInput,
7820
7824
  __spreadValues({
7821
7825
  withAsterisk: true,
7822
7826
  label: "N\u1ED9i dung c\u1EA3i ti\u1EBFn"
7823
7827
  }, form.getInputProps("description"))
7824
7828
  ),
7825
- /* @__PURE__ */ jsx64(MyTextInput, __spreadValues({ label: "K\u1EBFt lu\u1EADn" }, form.getInputProps("conclusion"))),
7826
- /* @__PURE__ */ jsx64(
7829
+ /* @__PURE__ */ jsx65(MyTextInput, __spreadValues({ label: "K\u1EBFt lu\u1EADn" }, form.getInputProps("conclusion"))),
7830
+ /* @__PURE__ */ jsx65(
7827
7831
  MyDateInput,
7828
7832
  __spreadValues({
7829
7833
  withAsterisk: true,
7830
7834
  label: "Ng\xE0y b\u1EAFt \u0111\u1EA7u"
7831
7835
  }, form.getInputProps("startDate"))
7832
7836
  ),
7833
- /* @__PURE__ */ jsx64(
7837
+ /* @__PURE__ */ jsx65(
7834
7838
  MyDateInput,
7835
7839
  __spreadValues({
7836
7840
  withAsterisk: true,
7837
7841
  label: "Ng\xE0y k\u1EBFt th\xFAc"
7838
7842
  }, form.getInputProps("endDate"))
7839
7843
  ),
7840
- /* @__PURE__ */ jsx64(
7844
+ /* @__PURE__ */ jsx65(
7841
7845
  FileInput4,
7842
7846
  __spreadValues({
7843
7847
  placeholder: "T\u1EA3i l\xEAn t\xE0i li\u1EC7u",
@@ -7845,19 +7849,19 @@ function F_core16209_Create({
7845
7849
  label: "T\xE0i li\u1EC7u"
7846
7850
  }, form.getInputProps("file"))
7847
7851
  ),
7848
- /* @__PURE__ */ jsx64(Textarea2, __spreadValues({ label: "Ghi ch\xFA" }, form.getInputProps("note")))
7852
+ /* @__PURE__ */ jsx65(Textarea2, __spreadValues({ label: "Ghi ch\xFA" }, form.getInputProps("note")))
7849
7853
  ]
7850
7854
  }
7851
7855
  );
7852
7856
  }
7853
7857
 
7854
7858
  // src/modules-features/admin/core/core16209/F_core16209_Delete.tsx
7855
- import { jsx as jsx65 } from "react/jsx-runtime";
7859
+ import { jsx as jsx66 } from "react/jsx-runtime";
7856
7860
  function F_core16209_Delete({
7857
7861
  id,
7858
7862
  contextData
7859
7863
  }) {
7860
- return /* @__PURE__ */ jsx65(
7864
+ return /* @__PURE__ */ jsx66(
7861
7865
  MyActionIconDelete,
7862
7866
  {
7863
7867
  contextData,
@@ -7869,7 +7873,7 @@ function F_core16209_Delete({
7869
7873
  // src/modules-features/admin/core/core16209/F_core16209_Update.tsx
7870
7874
  import { FileInput as FileInput5, Textarea as Textarea3 } from "@mantine/core";
7871
7875
  import { useForm as useForm4 } from "@mantine/form";
7872
- import { jsx as jsx66, jsxs as jsxs37 } from "react/jsx-runtime";
7876
+ import { jsx as jsx67, jsxs as jsxs38 } from "react/jsx-runtime";
7873
7877
  function F_core16209_Update({ values }) {
7874
7878
  var _a;
7875
7879
  const form = useForm4({
@@ -7892,7 +7896,7 @@ function F_core16209_Update({ values }) {
7892
7896
  endDate: (value, values2) => value && values2.startDate && new Date(value) > new Date(values2.startDate) ? null : "Ng\xE0y k\u1EBFt th\xFAc ph\u1EA3i l\u1EDBn h\u01A1n ng\xE0y b\u1EAFt \u0111\u1EA7u"
7893
7897
  }
7894
7898
  });
7895
- return /* @__PURE__ */ jsxs37(
7899
+ return /* @__PURE__ */ jsxs38(
7896
7900
  MyActionIconUpdate,
7897
7901
  {
7898
7902
  form,
@@ -7902,43 +7906,43 @@ function F_core16209_Update({ values }) {
7902
7906
  }));
7903
7907
  },
7904
7908
  children: [
7905
- /* @__PURE__ */ jsx66(
7909
+ /* @__PURE__ */ jsx67(
7906
7910
  MyDateInput,
7907
7911
  __spreadValues({
7908
7912
  withAsterisk: true,
7909
7913
  label: "Ng\xE0y h\u1ECDp"
7910
7914
  }, form.getInputProps("meetingDate"))
7911
7915
  ),
7912
- /* @__PURE__ */ jsx66(
7916
+ /* @__PURE__ */ jsx67(
7913
7917
  MyTextInput,
7914
7918
  __spreadValues({
7915
7919
  withAsterisk: true,
7916
7920
  label: "\u0110\u01A1n v\u1ECB y\xEAu c\u1EA7u"
7917
7921
  }, form.getInputProps("departmentName"))
7918
7922
  ),
7919
- /* @__PURE__ */ jsx66(
7923
+ /* @__PURE__ */ jsx67(
7920
7924
  MyTextInput,
7921
7925
  __spreadValues({
7922
7926
  withAsterisk: true,
7923
7927
  label: "N\u1ED9i dung c\u1EA3i ti\u1EBFn"
7924
7928
  }, form.getInputProps("description"))
7925
7929
  ),
7926
- /* @__PURE__ */ jsx66(MyTextInput, __spreadValues({ label: "K\u1EBFt lu\u1EADn" }, form.getInputProps("conclusion"))),
7927
- /* @__PURE__ */ jsx66(
7930
+ /* @__PURE__ */ jsx67(MyTextInput, __spreadValues({ label: "K\u1EBFt lu\u1EADn" }, form.getInputProps("conclusion"))),
7931
+ /* @__PURE__ */ jsx67(
7928
7932
  MyDateInput,
7929
7933
  __spreadValues({
7930
7934
  withAsterisk: true,
7931
7935
  label: "Ng\xE0y b\u1EAFt \u0111\u1EA7u"
7932
7936
  }, form.getInputProps("startDate"))
7933
7937
  ),
7934
- /* @__PURE__ */ jsx66(
7938
+ /* @__PURE__ */ jsx67(
7935
7939
  MyDateInput,
7936
7940
  __spreadValues({
7937
7941
  withAsterisk: true,
7938
7942
  label: "Ng\xE0y k\u1EBFt th\xFAc"
7939
7943
  }, form.getInputProps("endDate"))
7940
7944
  ),
7941
- /* @__PURE__ */ jsx66(
7945
+ /* @__PURE__ */ jsx67(
7942
7946
  FileInput5,
7943
7947
  __spreadValues({
7944
7948
  placeholder: "T\u1EA3i l\xEAn t\xE0i li\u1EC7u",
@@ -7946,14 +7950,14 @@ function F_core16209_Update({ values }) {
7946
7950
  label: "T\xE0i li\u1EC7u"
7947
7951
  }, form.getInputProps("file"))
7948
7952
  ),
7949
- /* @__PURE__ */ jsx66(Textarea3, __spreadValues({ label: "Ghi ch\xFA" }, form.getInputProps("note")))
7953
+ /* @__PURE__ */ jsx67(Textarea3, __spreadValues({ label: "Ghi ch\xFA" }, form.getInputProps("note")))
7950
7954
  ]
7951
7955
  }
7952
7956
  );
7953
7957
  }
7954
7958
 
7955
7959
  // src/modules-features/admin/core/core16209/F_core16209.tsx
7956
- import { jsx as jsx67, jsxs as jsxs38 } from "react/jsx-runtime";
7960
+ import { jsx as jsx68, jsxs as jsxs39 } from "react/jsx-runtime";
7957
7961
  function F_core16209({ RefinementTypeId }) {
7958
7962
  const query = useQuery5({
7959
7963
  queryKey: ["F_core16209_Read"],
@@ -7986,7 +7990,7 @@ function F_core16209({ RefinementTypeId }) {
7986
7990
  {
7987
7991
  header: "File",
7988
7992
  accessorFn: (row) => {
7989
- return /* @__PURE__ */ jsx67(MyCenterFull, { children: /* @__PURE__ */ jsx67(MyButtonViewPDF, { id: row.id }) });
7993
+ return /* @__PURE__ */ jsx68(MyCenterFull, { children: /* @__PURE__ */ jsx68(MyButtonViewPDF, { id: row.id }) });
7990
7994
  }
7991
7995
  }
7992
7996
  ],
@@ -7994,16 +7998,16 @@ function F_core16209({ RefinementTypeId }) {
7994
7998
  );
7995
7999
  if (query.isLoading) return "Loading...";
7996
8000
  if (query.isError) return "c\xF3 l\u1ED7i x\u1EA3y ra!";
7997
- return /* @__PURE__ */ jsx67(
8001
+ return /* @__PURE__ */ jsx68(
7998
8002
  MyDataTable,
7999
8003
  {
8000
8004
  columns,
8001
8005
  data: query.data,
8002
- renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx67(F_core16209_Create, { RefinementTypeId }),
8006
+ renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx68(F_core16209_Create, { RefinementTypeId }),
8003
8007
  renderRowActions: ({ row }) => {
8004
- return /* @__PURE__ */ jsxs38(MyCenterFull, { children: [
8005
- /* @__PURE__ */ jsx67(F_core16209_Update, { values: row.original }),
8006
- /* @__PURE__ */ jsx67(
8008
+ return /* @__PURE__ */ jsxs39(MyCenterFull, { children: [
8009
+ /* @__PURE__ */ jsx68(F_core16209_Update, { values: row.original }),
8010
+ /* @__PURE__ */ jsx68(
8007
8011
  F_core16209_Delete,
8008
8012
  {
8009
8013
  id: row.original.id,
@@ -8025,7 +8029,7 @@ import { useMemo as useMemo5 } from "react";
8025
8029
 
8026
8030
  // src/modules-features/admin/core/core18256/F_core18256_Create.tsx
8027
8031
  import { useForm as useForm5 } from "@mantine/form";
8028
- import { jsx as jsx68, jsxs as jsxs39 } from "react/jsx-runtime";
8032
+ import { jsx as jsx69, jsxs as jsxs40 } from "react/jsx-runtime";
8029
8033
  function F_core18256_Create({ documentType }) {
8030
8034
  const form = useForm5({
8031
8035
  mode: "uncontrolled",
@@ -8038,16 +8042,16 @@ function F_core18256_Create({ documentType }) {
8038
8042
  name: (value) => value ? null : "Kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng"
8039
8043
  }
8040
8044
  });
8041
- return /* @__PURE__ */ jsxs39(MyButtonCreate, { objectName: "Lo\u1EA1i v\u0103n b\u1EA3n", form, onSubmit: (values) => baseAxios_default.post("/DocumentAttribute/Create", values), children: [
8042
- /* @__PURE__ */ jsx68(MyTextInput, __spreadValues({ label: "M\xE3 lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("code"))),
8043
- /* @__PURE__ */ jsx68(MyTextInput, __spreadValues({ label: "T\xEAn lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("name")))
8045
+ return /* @__PURE__ */ jsxs40(MyButtonCreate, { objectName: "Lo\u1EA1i v\u0103n b\u1EA3n", form, onSubmit: (values) => baseAxios_default.post("/DocumentAttribute/Create", values), children: [
8046
+ /* @__PURE__ */ jsx69(MyTextInput, __spreadValues({ label: "M\xE3 lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("code"))),
8047
+ /* @__PURE__ */ jsx69(MyTextInput, __spreadValues({ label: "T\xEAn lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("name")))
8044
8048
  ] });
8045
8049
  }
8046
8050
 
8047
8051
  // src/modules-features/admin/core/core18256/F_core18256_Delete.tsx
8048
- import { jsx as jsx69 } from "react/jsx-runtime";
8052
+ import { jsx as jsx70 } from "react/jsx-runtime";
8049
8053
  function F_core18256_Delete({ id }) {
8050
- return /* @__PURE__ */ jsx69(
8054
+ return /* @__PURE__ */ jsx70(
8051
8055
  MyActionIconDelete,
8052
8056
  {
8053
8057
  onSubmit: async () => await baseAxios_default.post("/DocumentAttribute/Delete", { id })
@@ -8057,19 +8061,19 @@ function F_core18256_Delete({ id }) {
8057
8061
 
8058
8062
  // src/modules-features/admin/core/core18256/F_core18256_Update.tsx
8059
8063
  import { useForm as useForm6 } from "@mantine/form";
8060
- import { jsx as jsx70, jsxs as jsxs40 } from "react/jsx-runtime";
8064
+ import { jsx as jsx71, jsxs as jsxs41 } from "react/jsx-runtime";
8061
8065
  function F_core18256_Update({ values }) {
8062
8066
  const form = useForm6({
8063
8067
  initialValues: values
8064
8068
  });
8065
- return /* @__PURE__ */ jsxs40(MyActionIconUpdate, { form, onSubmit: async (values2) => await baseAxios_default.post("/DocumentAttribute/Update", values2), children: [
8066
- /* @__PURE__ */ jsx70(MyTextInput, __spreadValues({ label: "M\xE3 lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("code"))),
8067
- /* @__PURE__ */ jsx70(MyTextInput, __spreadValues({ label: "T\xEAn lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("name")))
8069
+ return /* @__PURE__ */ jsxs41(MyActionIconUpdate, { form, onSubmit: async (values2) => await baseAxios_default.post("/DocumentAttribute/Update", values2), children: [
8070
+ /* @__PURE__ */ jsx71(MyTextInput, __spreadValues({ label: "M\xE3 lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("code"))),
8071
+ /* @__PURE__ */ jsx71(MyTextInput, __spreadValues({ label: "T\xEAn lo\u1EA1i v\u0103n b\u1EA3n" }, form.getInputProps("name")))
8068
8072
  ] });
8069
8073
  }
8070
8074
 
8071
8075
  // src/modules-features/admin/core/core18256/F_core18256_Read.tsx
8072
- import { jsx as jsx71, jsxs as jsxs41 } from "react/jsx-runtime";
8076
+ import { jsx as jsx72, jsxs as jsxs42 } from "react/jsx-runtime";
8073
8077
  function F_core18256_Read({ documentType }) {
8074
8078
  const documentAttributeQuery = useQuery6({
8075
8079
  queryKey: ["F_core18256_Read", documentType],
@@ -8094,17 +8098,17 @@ function F_core18256_Read({ documentType }) {
8094
8098
  );
8095
8099
  if (documentAttributeQuery.isLoading) return "\u0110ang t\u1EA3i d\u1EEF li\u1EC7u...";
8096
8100
  if (documentAttributeQuery.isError) return "C\xF3 l\u1ED7i x\u1EA3y ra!";
8097
- return /* @__PURE__ */ jsx71(
8101
+ return /* @__PURE__ */ jsx72(
8098
8102
  MyDataTable,
8099
8103
  {
8100
8104
  columns,
8101
8105
  enableRowNumbers: true,
8102
8106
  data: documentAttributeQuery.data,
8103
- renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx71(F_core18256_Create, { documentType }),
8107
+ renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx72(F_core18256_Create, { documentType }),
8104
8108
  renderRowActions: ({ row }) => {
8105
- return /* @__PURE__ */ jsxs41(MyCenterFull, { children: [
8106
- /* @__PURE__ */ jsx71(F_core18256_Update, { values: row.original }),
8107
- /* @__PURE__ */ jsx71(F_core18256_Delete, { id: row.original.id })
8109
+ return /* @__PURE__ */ jsxs42(MyCenterFull, { children: [
8110
+ /* @__PURE__ */ jsx72(F_core18256_Update, { values: row.original }),
8111
+ /* @__PURE__ */ jsx72(F_core18256_Delete, { id: row.original.id })
8108
8112
  ] });
8109
8113
  }
8110
8114
  }
@@ -8112,23 +8116,23 @@ function F_core18256_Read({ documentType }) {
8112
8116
  }
8113
8117
 
8114
8118
  // src/modules-features/admin/core/core18256/F_core18256.tsx
8115
- import { jsx as jsx72, jsxs as jsxs42 } from "react/jsx-runtime";
8119
+ import { jsx as jsx73, jsxs as jsxs43 } from "react/jsx-runtime";
8116
8120
  var tabData = [
8117
8121
  { label: "1. V\u0103n b\u1EA3n quy \u0111\u1ECBnh" },
8118
8122
  { label: "2. Quy tr\xECnh x\u1EED l\xFD c\xF4ng vi\u1EC7c" },
8119
8123
  { label: "3. Danh m\u1EE5c bi\u1EC3u m\u1EABu" }
8120
8124
  ];
8121
8125
  function F_core18256() {
8122
- return /* @__PURE__ */ jsxs42(MyTab, { tabList: tabData, children: [
8123
- /* @__PURE__ */ jsx72(Tabs2.Panel, { value: "1. V\u0103n b\u1EA3n quy \u0111\u1ECBnh", children: /* @__PURE__ */ jsx72(F_core18256_Read, { documentType: OBJECT_DOCUMENT_TYPES.Regulations }) }),
8124
- /* @__PURE__ */ jsx72(Tabs2.Panel, { value: "2. Quy tr\xECnh x\u1EED l\xFD c\xF4ng vi\u1EC7c", children: /* @__PURE__ */ jsx72(F_core18256_Read, { documentType: OBJECT_DOCUMENT_TYPES.Workflow }) }),
8125
- /* @__PURE__ */ jsx72(Tabs2.Panel, { value: "3. Danh m\u1EE5c bi\u1EC3u m\u1EABu", children: /* @__PURE__ */ jsx72(F_core18256_Read, { documentType: OBJECT_DOCUMENT_TYPES.Form }) })
8126
+ return /* @__PURE__ */ jsxs43(MyTab, { tabList: tabData, children: [
8127
+ /* @__PURE__ */ jsx73(Tabs2.Panel, { value: "1. V\u0103n b\u1EA3n quy \u0111\u1ECBnh", children: /* @__PURE__ */ jsx73(F_core18256_Read, { documentType: OBJECT_DOCUMENT_TYPES.Regulations }) }),
8128
+ /* @__PURE__ */ jsx73(Tabs2.Panel, { value: "2. Quy tr\xECnh x\u1EED l\xFD c\xF4ng vi\u1EC7c", children: /* @__PURE__ */ jsx73(F_core18256_Read, { documentType: OBJECT_DOCUMENT_TYPES.Workflow }) }),
8129
+ /* @__PURE__ */ jsx73(Tabs2.Panel, { value: "3. Danh m\u1EE5c bi\u1EC3u m\u1EABu", children: /* @__PURE__ */ jsx73(F_core18256_Read, { documentType: OBJECT_DOCUMENT_TYPES.Form }) })
8126
8130
  ] });
8127
8131
  }
8128
8132
 
8129
8133
  // src/modules-features/admin/core/core26965/F_core26965_Create.tsx
8130
8134
  import { useForm as useForm7 } from "@mantine/form";
8131
- import { jsx as jsx73, jsxs as jsxs43 } from "react/jsx-runtime";
8135
+ import { jsx as jsx74, jsxs as jsxs44 } from "react/jsx-runtime";
8132
8136
  function F_core26965_Create({
8133
8137
  RegulationsTypeId
8134
8138
  }) {
@@ -8142,7 +8146,7 @@ function F_core26965_Create({
8142
8146
  file: (value) => value ? null : "T\u1EC7p \u0111\xEDnh k\xE8m kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng"
8143
8147
  }
8144
8148
  });
8145
- return /* @__PURE__ */ jsxs43(
8149
+ return /* @__PURE__ */ jsxs44(
8146
8150
  MyButtonCreate,
8147
8151
  {
8148
8152
  objectName: "V\u0103n b\u1EA3n quy \u0111\u1ECBnh t\u1ED5 ch\u1EE9c",
@@ -8154,28 +8158,28 @@ function F_core26965_Create({
8154
8158
  }));
8155
8159
  },
8156
8160
  children: [
8157
- /* @__PURE__ */ jsx73(
8161
+ /* @__PURE__ */ jsx74(
8158
8162
  MyTextInput,
8159
8163
  __spreadValues({
8160
8164
  withAsterisk: true,
8161
8165
  label: "S\u1ED1 quy \u0111\u1ECBnh"
8162
8166
  }, form.getInputProps("decisionCode"))
8163
8167
  ),
8164
- /* @__PURE__ */ jsx73(
8168
+ /* @__PURE__ */ jsx74(
8165
8169
  MyDateInput,
8166
8170
  __spreadValues({
8167
8171
  withAsterisk: true,
8168
8172
  label: "Ng\xE0y ban h\xE0nh"
8169
8173
  }, form.getInputProps("promulgateDate"))
8170
8174
  ),
8171
- /* @__PURE__ */ jsx73(
8175
+ /* @__PURE__ */ jsx74(
8172
8176
  MyTextInput,
8173
8177
  __spreadValues({
8174
8178
  withAsterisk: true,
8175
8179
  label: "T\xEAn t\xE0i li\u1EC7u"
8176
8180
  }, form.getInputProps("name"))
8177
8181
  ),
8178
- /* @__PURE__ */ jsx73(
8182
+ /* @__PURE__ */ jsx74(
8179
8183
  F_core18256_Select,
8180
8184
  __spreadValues({
8181
8185
  withAsterisk: true,
@@ -8183,14 +8187,14 @@ function F_core26965_Create({
8183
8187
  documentTypeId: RegulationsTypeId
8184
8188
  }, form.getInputProps("documentAttributeId"))
8185
8189
  ),
8186
- /* @__PURE__ */ jsx73(
8190
+ /* @__PURE__ */ jsx74(
8187
8191
  MyFileInput,
8188
8192
  __spreadValues({
8189
8193
  withAsterisk: true,
8190
8194
  label: "V\u0103n b\u1EA3n"
8191
8195
  }, form.getInputProps("file"))
8192
8196
  ),
8193
- /* @__PURE__ */ jsx73(
8197
+ /* @__PURE__ */ jsx74(
8194
8198
  MyNumberInput,
8195
8199
  __spreadValues({
8196
8200
  label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch"
@@ -8207,12 +8211,12 @@ import { useQuery as useQuery7 } from "@tanstack/react-query";
8207
8211
  import { useMemo as useMemo6 } from "react";
8208
8212
 
8209
8213
  // src/modules-features/admin/core/core26965/F_core26965_Delete.tsx
8210
- import { jsx as jsx74 } from "react/jsx-runtime";
8214
+ import { jsx as jsx75 } from "react/jsx-runtime";
8211
8215
  function F_core26965_Delete({
8212
8216
  id,
8213
8217
  contextData
8214
8218
  }) {
8215
- return /* @__PURE__ */ jsx74(
8219
+ return /* @__PURE__ */ jsx75(
8216
8220
  MyActionIconDelete,
8217
8221
  {
8218
8222
  contextData,
@@ -8223,7 +8227,7 @@ function F_core26965_Delete({
8223
8227
 
8224
8228
  // src/modules-features/admin/core/core26965/F_core26965_Update.tsx
8225
8229
  import { useForm as useForm8 } from "@mantine/form";
8226
- import { jsx as jsx75, jsxs as jsxs44 } from "react/jsx-runtime";
8230
+ import { jsx as jsx76, jsxs as jsxs45 } from "react/jsx-runtime";
8227
8231
  function F_core26965_Update({
8228
8232
  values,
8229
8233
  RegulationsTypeId
@@ -8245,7 +8249,7 @@ function F_core26965_Update({
8245
8249
  file: (value) => value ? null : "T\u1EC7p \u0111\xEDnh k\xE8m kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng"
8246
8250
  }
8247
8251
  });
8248
- return /* @__PURE__ */ jsxs44(
8252
+ return /* @__PURE__ */ jsxs45(
8249
8253
  MyActionIconUpdate,
8250
8254
  {
8251
8255
  form,
@@ -8255,28 +8259,28 @@ function F_core26965_Update({
8255
8259
  }));
8256
8260
  },
8257
8261
  children: [
8258
- /* @__PURE__ */ jsx75(
8262
+ /* @__PURE__ */ jsx76(
8259
8263
  MyTextInput,
8260
8264
  __spreadValues({
8261
8265
  withAsterisk: true,
8262
8266
  label: "S\u1ED1 quy \u0111\u1ECBnh"
8263
8267
  }, form.getInputProps("decisionCode"))
8264
8268
  ),
8265
- /* @__PURE__ */ jsx75(
8269
+ /* @__PURE__ */ jsx76(
8266
8270
  MyDateInput,
8267
8271
  __spreadValues({
8268
8272
  withAsterisk: true,
8269
8273
  label: "Ng\xE0y ban h\xE0nh"
8270
8274
  }, form.getInputProps("promulgateDate"))
8271
8275
  ),
8272
- /* @__PURE__ */ jsx75(
8276
+ /* @__PURE__ */ jsx76(
8273
8277
  MyTextInput,
8274
8278
  __spreadValues({
8275
8279
  withAsterisk: true,
8276
8280
  label: "T\xEAn t\xE0i li\u1EC7u"
8277
8281
  }, form.getInputProps("name"))
8278
8282
  ),
8279
- /* @__PURE__ */ jsx75(
8283
+ /* @__PURE__ */ jsx76(
8280
8284
  F_core18256_Select,
8281
8285
  __spreadValues({
8282
8286
  withAsterisk: true,
@@ -8284,14 +8288,14 @@ function F_core26965_Update({
8284
8288
  documentTypeId: RegulationsTypeId
8285
8289
  }, form.getInputProps("documentAttributeId"))
8286
8290
  ),
8287
- /* @__PURE__ */ jsx75(
8291
+ /* @__PURE__ */ jsx76(
8288
8292
  MyFileInput,
8289
8293
  __spreadValues({
8290
8294
  withAsterisk: true,
8291
8295
  label: "V\u0103n b\u1EA3n"
8292
8296
  }, form.getInputProps("file"))
8293
8297
  ),
8294
- /* @__PURE__ */ jsx75(
8298
+ /* @__PURE__ */ jsx76(
8295
8299
  MyNumberInput,
8296
8300
  __spreadValues({
8297
8301
  label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch"
@@ -8303,7 +8307,7 @@ function F_core26965_Update({
8303
8307
  }
8304
8308
 
8305
8309
  // src/modules-features/admin/core/core26965/F_core26965_Read.tsx
8306
- import { jsx as jsx76, jsxs as jsxs45 } from "react/jsx-runtime";
8310
+ import { jsx as jsx77, jsxs as jsxs46 } from "react/jsx-runtime";
8307
8311
  function F_core26965_Read({
8308
8312
  RegulationsTypeId
8309
8313
  }) {
@@ -8321,8 +8325,8 @@ function F_core26965_Read({
8321
8325
  if (documentAttributeQuery.isLoading) return "Loading...";
8322
8326
  if (documentAttributeQuery.isError) return "c\xF3 l\u1ED7i x\u1EA3y ra!";
8323
8327
  if (((_a = documentAttributeQuery.data) == null ? void 0 : _a.length) == 0)
8324
- return /* @__PURE__ */ jsx76(Blockquote2, { color: "yellow", children: "Ch\u01B0a c\xF3 lo\u1EA1i v\u0103n b\u1EA3n" });
8325
- return /* @__PURE__ */ jsx76(MyFlexColumn, { children: /* @__PURE__ */ jsx76(
8328
+ return /* @__PURE__ */ jsx77(Blockquote2, { color: "yellow", children: "Ch\u01B0a c\xF3 lo\u1EA1i v\u0103n b\u1EA3n" });
8329
+ return /* @__PURE__ */ jsx77(MyFlexColumn, { children: /* @__PURE__ */ jsx77(
8326
8330
  Accordion2,
8327
8331
  {
8328
8332
  variant: "contained",
@@ -8333,7 +8337,7 @@ function F_core26965_Read({
8333
8337
  }
8334
8338
  ),
8335
8339
  multiple: true,
8336
- children: (_c = documentAttributeQuery.data) == null ? void 0 : _c.map((item, idx) => /* @__PURE__ */ jsx76(
8340
+ children: (_c = documentAttributeQuery.data) == null ? void 0 : _c.map((item, idx) => /* @__PURE__ */ jsx77(
8337
8341
  SubRead2,
8338
8342
  {
8339
8343
  name: item.name,
@@ -8376,7 +8380,7 @@ function SubRead2({
8376
8380
  {
8377
8381
  header: "File",
8378
8382
  accessorFn: (row) => {
8379
- return /* @__PURE__ */ jsx76(MyCenterFull, { children: /* @__PURE__ */ jsx76(MyButtonViewPDF, { id: row.id }) });
8383
+ return /* @__PURE__ */ jsx77(MyCenterFull, { children: /* @__PURE__ */ jsx77(MyButtonViewPDF, { id: row.id }) });
8380
8384
  }
8381
8385
  }
8382
8386
  ],
@@ -8384,22 +8388,22 @@ function SubRead2({
8384
8388
  );
8385
8389
  if (documentQuery.isLoading) return "Loading...";
8386
8390
  if (documentQuery.isError) return "Error!";
8387
- return /* @__PURE__ */ jsxs45(Accordion2.Item, { value: documentType.toString(), children: [
8388
- /* @__PURE__ */ jsx76(Accordion2.Control, { children: name }),
8389
- /* @__PURE__ */ jsx76(Accordion2.Panel, { children: /* @__PURE__ */ jsx76(
8391
+ return /* @__PURE__ */ jsxs46(Accordion2.Item, { value: documentType.toString(), children: [
8392
+ /* @__PURE__ */ jsx77(Accordion2.Control, { children: name }),
8393
+ /* @__PURE__ */ jsx77(Accordion2.Panel, { children: /* @__PURE__ */ jsx77(
8390
8394
  MyDataTable,
8391
8395
  {
8392
8396
  columns,
8393
8397
  data: documentQuery.data,
8394
- renderRowActions: ({ row }) => /* @__PURE__ */ jsxs45(MyCenterFull, { children: [
8395
- /* @__PURE__ */ jsx76(
8398
+ renderRowActions: ({ row }) => /* @__PURE__ */ jsxs46(MyCenterFull, { children: [
8399
+ /* @__PURE__ */ jsx77(
8396
8400
  F_core26965_Update,
8397
8401
  {
8398
8402
  RegulationsTypeId,
8399
8403
  values: row.original
8400
8404
  }
8401
8405
  ),
8402
- /* @__PURE__ */ jsx76(
8406
+ /* @__PURE__ */ jsx77(
8403
8407
  F_core26965_Delete,
8404
8408
  {
8405
8409
  id: row.original.id,
@@ -8413,19 +8417,19 @@ function SubRead2({
8413
8417
  }
8414
8418
 
8415
8419
  // src/modules-features/admin/core/core26965/F_core26965.tsx
8416
- import { Paper as Paper8, Space as Space6 } from "@mantine/core";
8417
- import { jsx as jsx77, jsxs as jsxs46 } from "react/jsx-runtime";
8420
+ import { Paper as Paper9, Space as Space6 } from "@mantine/core";
8421
+ import { jsx as jsx78, jsxs as jsxs47 } from "react/jsx-runtime";
8418
8422
  function F_core26965({ RegulationsTypeId }) {
8419
- return /* @__PURE__ */ jsxs46(Paper8, { p: "md", children: [
8420
- /* @__PURE__ */ jsx77(MyFlexEnd, { children: /* @__PURE__ */ jsx77(F_core26965_Create, { RegulationsTypeId }) }),
8421
- /* @__PURE__ */ jsx77(Space6, {}),
8422
- /* @__PURE__ */ jsx77(F_core26965_Read, { RegulationsTypeId })
8423
+ return /* @__PURE__ */ jsxs47(Paper9, { p: "md", children: [
8424
+ /* @__PURE__ */ jsx78(MyFlexEnd, { children: /* @__PURE__ */ jsx78(F_core26965_Create, { RegulationsTypeId }) }),
8425
+ /* @__PURE__ */ jsx78(Space6, {}),
8426
+ /* @__PURE__ */ jsx78(F_core26965_Read, { RegulationsTypeId })
8423
8427
  ] });
8424
8428
  }
8425
8429
 
8426
8430
  // src/modules-features/admin/core/core27311/F_core27311_Create.tsx
8427
8431
  import { useForm as useForm9 } from "@mantine/form";
8428
- import { jsx as jsx78, jsxs as jsxs47 } from "react/jsx-runtime";
8432
+ import { jsx as jsx79, jsxs as jsxs48 } from "react/jsx-runtime";
8429
8433
  function F_core27311_Create({
8430
8434
  WorkflowTypeId
8431
8435
  }) {
@@ -8439,7 +8443,7 @@ function F_core27311_Create({
8439
8443
  file: (value) => value ? null : "T\u1EC7p \u0111\xEDnh k\xE8m kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng"
8440
8444
  }
8441
8445
  });
8442
- return /* @__PURE__ */ jsxs47(
8446
+ return /* @__PURE__ */ jsxs48(
8443
8447
  MyButtonCreate,
8444
8448
  {
8445
8449
  objectName: "V\u0103n b\u1EA3n quy \u0111\u1ECBnh t\u1ED5 ch\u1EE9c",
@@ -8451,28 +8455,28 @@ function F_core27311_Create({
8451
8455
  }));
8452
8456
  },
8453
8457
  children: [
8454
- /* @__PURE__ */ jsx78(
8458
+ /* @__PURE__ */ jsx79(
8455
8459
  MyTextInput,
8456
8460
  __spreadValues({
8457
8461
  withAsterisk: true,
8458
8462
  label: "S\u1ED1 quy \u0111\u1ECBnh"
8459
8463
  }, form.getInputProps("decisionCode"))
8460
8464
  ),
8461
- /* @__PURE__ */ jsx78(
8465
+ /* @__PURE__ */ jsx79(
8462
8466
  MyDateInput,
8463
8467
  __spreadValues({
8464
8468
  withAsterisk: true,
8465
8469
  label: "Ng\xE0y ban h\xE0nh"
8466
8470
  }, form.getInputProps("promulgateDate"))
8467
8471
  ),
8468
- /* @__PURE__ */ jsx78(
8472
+ /* @__PURE__ */ jsx79(
8469
8473
  MyTextInput,
8470
8474
  __spreadValues({
8471
8475
  withAsterisk: true,
8472
8476
  label: "T\xEAn t\xE0i li\u1EC7u"
8473
8477
  }, form.getInputProps("name"))
8474
8478
  ),
8475
- /* @__PURE__ */ jsx78(
8479
+ /* @__PURE__ */ jsx79(
8476
8480
  F_core18256_Select,
8477
8481
  __spreadValues({
8478
8482
  withAsterisk: true,
@@ -8480,14 +8484,14 @@ function F_core27311_Create({
8480
8484
  documentTypeId: WorkflowTypeId
8481
8485
  }, form.getInputProps("documentAttributeId"))
8482
8486
  ),
8483
- /* @__PURE__ */ jsx78(
8487
+ /* @__PURE__ */ jsx79(
8484
8488
  MyFileInput,
8485
8489
  __spreadValues({
8486
8490
  withAsterisk: true,
8487
8491
  label: "V\u0103n b\u1EA3n"
8488
8492
  }, form.getInputProps("file"))
8489
8493
  ),
8490
- /* @__PURE__ */ jsx78(
8494
+ /* @__PURE__ */ jsx79(
8491
8495
  MyNumberInput,
8492
8496
  __spreadValues({
8493
8497
  label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch"
@@ -8504,12 +8508,12 @@ import { useQuery as useQuery8 } from "@tanstack/react-query";
8504
8508
  import { useMemo as useMemo7 } from "react";
8505
8509
 
8506
8510
  // src/modules-features/admin/core/core27311/F_core27311_Delete.tsx
8507
- import { jsx as jsx79 } from "react/jsx-runtime";
8511
+ import { jsx as jsx80 } from "react/jsx-runtime";
8508
8512
  function F_core27311_Delete({
8509
8513
  id,
8510
8514
  contextData
8511
8515
  }) {
8512
- return /* @__PURE__ */ jsx79(
8516
+ return /* @__PURE__ */ jsx80(
8513
8517
  MyActionIconDelete,
8514
8518
  {
8515
8519
  contextData,
@@ -8520,7 +8524,7 @@ function F_core27311_Delete({
8520
8524
 
8521
8525
  // src/modules-features/admin/core/core27311/F_core27311_Update.tsx
8522
8526
  import { useForm as useForm10 } from "@mantine/form";
8523
- import { jsx as jsx80, jsxs as jsxs48 } from "react/jsx-runtime";
8527
+ import { jsx as jsx81, jsxs as jsxs49 } from "react/jsx-runtime";
8524
8528
  function F_core27311_Update({
8525
8529
  values,
8526
8530
  WorkflowTypeId
@@ -8542,7 +8546,7 @@ function F_core27311_Update({
8542
8546
  file: (value) => value ? null : "T\u1EC7p \u0111\xEDnh k\xE8m kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng"
8543
8547
  }
8544
8548
  });
8545
- return /* @__PURE__ */ jsxs48(
8549
+ return /* @__PURE__ */ jsxs49(
8546
8550
  MyActionIconUpdate,
8547
8551
  {
8548
8552
  form,
@@ -8552,28 +8556,28 @@ function F_core27311_Update({
8552
8556
  }));
8553
8557
  },
8554
8558
  children: [
8555
- /* @__PURE__ */ jsx80(
8559
+ /* @__PURE__ */ jsx81(
8556
8560
  MyTextInput,
8557
8561
  __spreadValues({
8558
8562
  withAsterisk: true,
8559
8563
  label: "S\u1ED1 quy \u0111\u1ECBnh"
8560
8564
  }, form.getInputProps("decisionCode"))
8561
8565
  ),
8562
- /* @__PURE__ */ jsx80(
8566
+ /* @__PURE__ */ jsx81(
8563
8567
  MyDateInput,
8564
8568
  __spreadValues({
8565
8569
  withAsterisk: true,
8566
8570
  label: "Ng\xE0y ban h\xE0nh"
8567
8571
  }, form.getInputProps("promulgateDate"))
8568
8572
  ),
8569
- /* @__PURE__ */ jsx80(
8573
+ /* @__PURE__ */ jsx81(
8570
8574
  MyTextInput,
8571
8575
  __spreadValues({
8572
8576
  withAsterisk: true,
8573
8577
  label: "T\xEAn t\xE0i li\u1EC7u"
8574
8578
  }, form.getInputProps("name"))
8575
8579
  ),
8576
- /* @__PURE__ */ jsx80(
8580
+ /* @__PURE__ */ jsx81(
8577
8581
  F_core18256_Select,
8578
8582
  __spreadValues({
8579
8583
  withAsterisk: true,
@@ -8581,14 +8585,14 @@ function F_core27311_Update({
8581
8585
  documentTypeId: WorkflowTypeId
8582
8586
  }, form.getInputProps("documentAttributeId"))
8583
8587
  ),
8584
- /* @__PURE__ */ jsx80(
8588
+ /* @__PURE__ */ jsx81(
8585
8589
  MyFileInput,
8586
8590
  __spreadValues({
8587
8591
  withAsterisk: true,
8588
8592
  label: "V\u0103n b\u1EA3n"
8589
8593
  }, form.getInputProps("file"))
8590
8594
  ),
8591
- /* @__PURE__ */ jsx80(
8595
+ /* @__PURE__ */ jsx81(
8592
8596
  MyNumberInput,
8593
8597
  __spreadValues({
8594
8598
  label: "Th\u1EE9 t\u1EF1 hi\u1EC3n th\u1ECB tr\xEAn danh s\xE1ch"
@@ -8600,7 +8604,7 @@ function F_core27311_Update({
8600
8604
  }
8601
8605
 
8602
8606
  // src/modules-features/admin/core/core27311/F_core27311_Read.tsx
8603
- import { jsx as jsx81, jsxs as jsxs49 } from "react/jsx-runtime";
8607
+ import { jsx as jsx82, jsxs as jsxs50 } from "react/jsx-runtime";
8604
8608
  function F_core27311_Read({
8605
8609
  WorkflowTypeId
8606
8610
  }) {
@@ -8618,8 +8622,8 @@ function F_core27311_Read({
8618
8622
  if (documentAttributeQuery.isLoading) return "Loading...";
8619
8623
  if (documentAttributeQuery.isError) return "c\xF3 l\u1ED7i x\u1EA3y ra!";
8620
8624
  if (((_a = documentAttributeQuery.data) == null ? void 0 : _a.length) == 0)
8621
- return /* @__PURE__ */ jsx81(Blockquote3, { color: "yellow", children: "Ch\u01B0a c\xF3 lo\u1EA1i v\u0103n b\u1EA3n" });
8622
- return /* @__PURE__ */ jsx81(MyFlexColumn, { children: /* @__PURE__ */ jsx81(
8625
+ return /* @__PURE__ */ jsx82(Blockquote3, { color: "yellow", children: "Ch\u01B0a c\xF3 lo\u1EA1i v\u0103n b\u1EA3n" });
8626
+ return /* @__PURE__ */ jsx82(MyFlexColumn, { children: /* @__PURE__ */ jsx82(
8623
8627
  Accordion3,
8624
8628
  {
8625
8629
  variant: "contained",
@@ -8630,7 +8634,7 @@ function F_core27311_Read({
8630
8634
  }
8631
8635
  ),
8632
8636
  multiple: true,
8633
- children: (_c = documentAttributeQuery.data) == null ? void 0 : _c.map((item, idx) => /* @__PURE__ */ jsx81(
8637
+ children: (_c = documentAttributeQuery.data) == null ? void 0 : _c.map((item, idx) => /* @__PURE__ */ jsx82(
8634
8638
  SubRead3,
8635
8639
  {
8636
8640
  name: item.name,
@@ -8673,7 +8677,7 @@ function SubRead3({
8673
8677
  {
8674
8678
  header: "File",
8675
8679
  accessorFn: (row) => {
8676
- return /* @__PURE__ */ jsx81(MyCenterFull, { children: /* @__PURE__ */ jsx81(MyButtonViewPDF, { id: row.id }) });
8680
+ return /* @__PURE__ */ jsx82(MyCenterFull, { children: /* @__PURE__ */ jsx82(MyButtonViewPDF, { id: row.id }) });
8677
8681
  }
8678
8682
  }
8679
8683
  ],
@@ -8681,22 +8685,22 @@ function SubRead3({
8681
8685
  );
8682
8686
  if (documentQuery.isLoading) return "Loading...";
8683
8687
  if (documentQuery.isError) return "Error!";
8684
- return /* @__PURE__ */ jsxs49(Accordion3.Item, { value: documentType.toString(), children: [
8685
- /* @__PURE__ */ jsx81(Accordion3.Control, { children: name }),
8686
- /* @__PURE__ */ jsx81(Accordion3.Panel, { children: /* @__PURE__ */ jsx81(
8688
+ return /* @__PURE__ */ jsxs50(Accordion3.Item, { value: documentType.toString(), children: [
8689
+ /* @__PURE__ */ jsx82(Accordion3.Control, { children: name }),
8690
+ /* @__PURE__ */ jsx82(Accordion3.Panel, { children: /* @__PURE__ */ jsx82(
8687
8691
  MyDataTable,
8688
8692
  {
8689
8693
  columns,
8690
8694
  data: documentQuery.data,
8691
- renderRowActions: ({ row }) => /* @__PURE__ */ jsxs49(MyCenterFull, { children: [
8692
- /* @__PURE__ */ jsx81(
8695
+ renderRowActions: ({ row }) => /* @__PURE__ */ jsxs50(MyCenterFull, { children: [
8696
+ /* @__PURE__ */ jsx82(
8693
8697
  F_core27311_Update,
8694
8698
  {
8695
8699
  WorkflowTypeId,
8696
8700
  values: row.original
8697
8701
  }
8698
8702
  ),
8699
- /* @__PURE__ */ jsx81(
8703
+ /* @__PURE__ */ jsx82(
8700
8704
  F_core27311_Delete,
8701
8705
  {
8702
8706
  id: row.original.id,
@@ -8710,40 +8714,40 @@ function SubRead3({
8710
8714
  }
8711
8715
 
8712
8716
  // src/modules-features/admin/core/core27311/F_core27311.tsx
8713
- import { Paper as Paper9, Space as Space7 } from "@mantine/core";
8714
- import { jsx as jsx82, jsxs as jsxs50 } from "react/jsx-runtime";
8717
+ import { Paper as Paper10, Space as Space7 } from "@mantine/core";
8718
+ import { jsx as jsx83, jsxs as jsxs51 } from "react/jsx-runtime";
8715
8719
  function F_core27311({
8716
8720
  WorkflowTypeId
8717
8721
  }) {
8718
- return /* @__PURE__ */ jsxs50(Paper9, { p: "md", children: [
8719
- /* @__PURE__ */ jsx82(MyFlexEnd, { children: /* @__PURE__ */ jsx82(F_core27311_Create, { WorkflowTypeId }) }),
8720
- /* @__PURE__ */ jsx82(Space7, {}),
8721
- /* @__PURE__ */ jsx82(F_core27311_Read, { WorkflowTypeId })
8722
+ return /* @__PURE__ */ jsxs51(Paper10, { p: "md", children: [
8723
+ /* @__PURE__ */ jsx83(MyFlexEnd, { children: /* @__PURE__ */ jsx83(F_core27311_Create, { WorkflowTypeId }) }),
8724
+ /* @__PURE__ */ jsx83(Space7, {}),
8725
+ /* @__PURE__ */ jsx83(F_core27311_Read, { WorkflowTypeId })
8722
8726
  ] });
8723
8727
  }
8724
8728
 
8725
8729
  // src/modules-features/admin/core/core35923/F_core35923.tsx
8726
8730
  import { Grid } from "@mantine/core";
8727
- import { jsx as jsx83, jsxs as jsxs51 } from "react/jsx-runtime";
8731
+ import { jsx as jsx84, jsxs as jsxs52 } from "react/jsx-runtime";
8728
8732
  function F_core35923() {
8729
- return /* @__PURE__ */ jsxs51(MyFieldset, { title: "C\u1EADp nh\u1EADt th\xF4ng tin \u0111\u01A1n v\u1ECB ch\u1EE7 qu\u1EA3n", children: [
8730
- /* @__PURE__ */ jsxs51(Grid, { children: [
8731
- /* @__PURE__ */ jsx83(Grid.Col, { span: { base: 12, md: 5 }, children: /* @__PURE__ */ jsx83(MyTextInput, { label: "M\xE3 module", disabled: true }) }),
8732
- /* @__PURE__ */ jsx83(Grid.Col, { span: { base: 12, md: 7 }, children: /* @__PURE__ */ jsx83(MyTextInput, { label: "T\xEAn module" }) }),
8733
- /* @__PURE__ */ jsx83(Grid.Col, { span: 12, children: /* @__PURE__ */ jsx83(MyTextInput, { label: "T\xEAn \u0111\u01A1n v\u1ECB ch\u1EE7 qu\u1EA3n" }) }),
8734
- /* @__PURE__ */ jsx83(Grid.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx83(MyTextInput, { label: "Email" }) }),
8735
- /* @__PURE__ */ jsx83(Grid.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx83(MyTextInput, { label: "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i" }) }),
8736
- /* @__PURE__ */ jsx83(Grid.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx83(MyTextInput, { label: "Ng\xE0y \u0111\u0103ng k\xFD" }) }),
8737
- /* @__PURE__ */ jsx83(Grid.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx83(MyTextInput, { label: "Ng\xE0y h\u1EBFt h\u1EA1n" }) }),
8738
- /* @__PURE__ */ jsx83(Grid.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx83(MyFileInput, { label: "Favicon (16px x 16px)" }) }),
8739
- /* @__PURE__ */ jsx83(Grid.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx83(MyFileInput, { label: "Logo (330px x 115px)" }) })
8733
+ return /* @__PURE__ */ jsxs52(MyFieldset, { title: "C\u1EADp nh\u1EADt th\xF4ng tin \u0111\u01A1n v\u1ECB ch\u1EE7 qu\u1EA3n", children: [
8734
+ /* @__PURE__ */ jsxs52(Grid, { children: [
8735
+ /* @__PURE__ */ jsx84(Grid.Col, { span: { base: 12, md: 5 }, children: /* @__PURE__ */ jsx84(MyTextInput, { label: "M\xE3 module", disabled: true }) }),
8736
+ /* @__PURE__ */ jsx84(Grid.Col, { span: { base: 12, md: 7 }, children: /* @__PURE__ */ jsx84(MyTextInput, { label: "T\xEAn module" }) }),
8737
+ /* @__PURE__ */ jsx84(Grid.Col, { span: 12, children: /* @__PURE__ */ jsx84(MyTextInput, { label: "T\xEAn \u0111\u01A1n v\u1ECB ch\u1EE7 qu\u1EA3n" }) }),
8738
+ /* @__PURE__ */ jsx84(Grid.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx84(MyTextInput, { label: "Email" }) }),
8739
+ /* @__PURE__ */ jsx84(Grid.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx84(MyTextInput, { label: "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i" }) }),
8740
+ /* @__PURE__ */ jsx84(Grid.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx84(MyTextInput, { label: "Ng\xE0y \u0111\u0103ng k\xFD" }) }),
8741
+ /* @__PURE__ */ jsx84(Grid.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx84(MyTextInput, { label: "Ng\xE0y h\u1EBFt h\u1EA1n" }) }),
8742
+ /* @__PURE__ */ jsx84(Grid.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx84(MyFileInput, { label: "Favicon (16px x 16px)" }) }),
8743
+ /* @__PURE__ */ jsx84(Grid.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx84(MyFileInput, { label: "Logo (330px x 115px)" }) })
8740
8744
  ] }),
8741
- /* @__PURE__ */ jsx83(MyFlexEnd, { children: /* @__PURE__ */ jsx83(MyButton, { crudType: "save" }) })
8745
+ /* @__PURE__ */ jsx84(MyFlexEnd, { children: /* @__PURE__ */ jsx84(MyButton, { crudType: "save" }) })
8742
8746
  ] });
8743
8747
  }
8744
8748
 
8745
8749
  // src/modules-features/admin/core/core38677/F_core38677.tsx
8746
- import { Grid as Grid2, Paper as Paper10, ScrollArea as ScrollArea6 } from "@mantine/core";
8750
+ import { Grid as Grid2, Paper as Paper11, ScrollArea as ScrollArea6 } from "@mantine/core";
8747
8751
 
8748
8752
  // src/modules-features/admin/core/core38677/F_core38677_ReadUser.tsx
8749
8753
  import { Container as Container4 } from "@mantine/core";
@@ -8799,7 +8803,7 @@ function utils_core83092_mergePage(arr1, arr2) {
8799
8803
  }
8800
8804
 
8801
8805
  // src/modules-features/admin/core/core38677/F_core38677_ReadUser.tsx
8802
- import { jsx as jsx84 } from "react/jsx-runtime";
8806
+ import { jsx as jsx85 } from "react/jsx-runtime";
8803
8807
  function F_core38677_ReadUser() {
8804
8808
  const store = useS_core83092();
8805
8809
  const query = useQ_Account_GetAdminAccount();
@@ -8832,7 +8836,7 @@ function F_core38677_ReadUser() {
8832
8836
  }, [query.data]);
8833
8837
  if (query.isLoading) return "Loading...";
8834
8838
  if (query.isError) return "C\xF3 l\u1ED7i x\u1EA3y ra!";
8835
- return /* @__PURE__ */ jsx84(Container4, { fluid: true, children: /* @__PURE__ */ jsx84(
8839
+ return /* @__PURE__ */ jsx85(Container4, { fluid: true, children: /* @__PURE__ */ jsx85(
8836
8840
  MyDataTable,
8837
8841
  {
8838
8842
  columns,
@@ -8868,7 +8872,7 @@ function useQ_Account_GetAdminAccount() {
8868
8872
  // src/modules-features/admin/core/core38677/F_core38677_Save.tsx
8869
8873
  import { useMutation as useMutation5 } from "@tanstack/react-query";
8870
8874
  import { useEffect as useEffect9, useState as useState10 } from "react";
8871
- import { jsx as jsx85 } from "react/jsx-runtime";
8875
+ import { jsx as jsx86 } from "react/jsx-runtime";
8872
8876
  function F_core38677_Save() {
8873
8877
  const store = useS_core83092();
8874
8878
  const disable = useState10(false);
@@ -8897,7 +8901,7 @@ function F_core38677_Save() {
8897
8901
  }
8898
8902
  disable[1](false);
8899
8903
  }, [store.state.rolePermissions]);
8900
- return /* @__PURE__ */ jsx85(MyButton, { disabled: disable[0], crudType: "save", onClick: handleSave });
8904
+ return /* @__PURE__ */ jsx86(MyButton, { disabled: disable[0], crudType: "save", onClick: handleSave });
8901
8905
  }
8902
8906
 
8903
8907
  // src/data/menuData.ts
@@ -8932,11 +8936,11 @@ var menuData = [
8932
8936
  ];
8933
8937
 
8934
8938
  // src/modules-features/admin/core/core38677/F_core38677_ViewMenuPermissions.tsx
8935
- import { Checkbox as Checkbox3, Flex as Flex5, ScrollArea as ScrollArea5, Table as Table3, Text as Text14 } from "@mantine/core";
8939
+ import { Checkbox as Checkbox3, Flex as Flex6, ScrollArea as ScrollArea5, Table as Table3, Text as Text15 } from "@mantine/core";
8936
8940
  import { IconEdit as IconEdit5, IconEyeUp, IconFileExport as IconFileExport2, IconPlus as IconPlus5, IconPrinter as IconPrinter3, IconTrash as IconTrash5 } from "@tabler/icons-react";
8937
8941
  import { useQuery as useQuery10 } from "@tanstack/react-query";
8938
8942
  import React2, { useEffect as useEffect10, useState as useState11 } from "react";
8939
- import { jsx as jsx86, jsxs as jsxs52 } from "react/jsx-runtime";
8943
+ import { jsx as jsx87, jsxs as jsxs53 } from "react/jsx-runtime";
8940
8944
  var title = "Danh s\xE1ch ch\u1EE9c n\u0103ng";
8941
8945
  function F_core38677_ViewMenuPermissions({ menuData: menuData2 }) {
8942
8946
  var _a, _b;
@@ -8951,8 +8955,8 @@ function F_core38677_ViewMenuPermissions({ menuData: menuData2 }) {
8951
8955
  store.setProperty("rolePermissions", query.data);
8952
8956
  }, [query.data]);
8953
8957
  if (((_a = list[0]) == null ? void 0 : _a.length) == 0) return "\u0110ang t\u1EA3i...";
8954
- return /* @__PURE__ */ jsx86(ScrollArea5.Autosize, { h: "70vh", children: /* @__PURE__ */ jsxs52(Table3, { children: [
8955
- /* @__PURE__ */ jsx86(
8958
+ return /* @__PURE__ */ jsx87(ScrollArea5.Autosize, { h: "70vh", children: /* @__PURE__ */ jsxs53(Table3, { children: [
8959
+ /* @__PURE__ */ jsx87(
8956
8960
  Table3.Thead,
8957
8961
  {
8958
8962
  bg: "light-dark(var(--mantine-color-white), var(--mantine-color-dark-8))",
@@ -8963,90 +8967,90 @@ function F_core38677_ViewMenuPermissions({ menuData: menuData2 }) {
8963
8967
  boxShadow: "0px 4px 6px rgba(0, 0, 0, 0.1)",
8964
8968
  border: "1px solid var(--mantine-color-gray-4)"
8965
8969
  },
8966
- children: /* @__PURE__ */ jsxs52(Table3.Tr, { children: [
8967
- /* @__PURE__ */ jsx86(Table3.Th, { children: title }),
8968
- /* @__PURE__ */ jsx86(Table3.Th, { children: /* @__PURE__ */ jsxs52(Flex5, { gap: 3, direction: "column", justify: "center", align: "center", children: [
8969
- /* @__PURE__ */ jsx86(Checkbox3, { checked: store.isAllPermission("isRead"), onChange: (e4) => {
8970
+ children: /* @__PURE__ */ jsxs53(Table3.Tr, { children: [
8971
+ /* @__PURE__ */ jsx87(Table3.Th, { children: title }),
8972
+ /* @__PURE__ */ jsx87(Table3.Th, { children: /* @__PURE__ */ jsxs53(Flex6, { gap: 3, direction: "column", justify: "center", align: "center", children: [
8973
+ /* @__PURE__ */ jsx87(Checkbox3, { checked: store.isAllPermission("isRead"), onChange: (e4) => {
8970
8974
  store.toogleAllPermissionWithType("isRead", e4.target.checked);
8971
8975
  } }),
8972
- /* @__PURE__ */ jsxs52(MyFlexRow, { gap: 3, children: [
8976
+ /* @__PURE__ */ jsxs53(MyFlexRow, { gap: 3, children: [
8973
8977
  "Xem",
8974
- /* @__PURE__ */ jsx86(IconEyeUp, { color: "gray" })
8978
+ /* @__PURE__ */ jsx87(IconEyeUp, { color: "gray" })
8975
8979
  ] })
8976
8980
  ] }) }),
8977
- /* @__PURE__ */ jsx86(Table3.Th, { children: /* @__PURE__ */ jsxs52(Flex5, { gap: 3, direction: "column", justify: "center", align: "center", children: [
8978
- /* @__PURE__ */ jsx86(Checkbox3, { checked: store.isAllPermission("isCreate"), onChange: (e4) => {
8981
+ /* @__PURE__ */ jsx87(Table3.Th, { children: /* @__PURE__ */ jsxs53(Flex6, { gap: 3, direction: "column", justify: "center", align: "center", children: [
8982
+ /* @__PURE__ */ jsx87(Checkbox3, { checked: store.isAllPermission("isCreate"), onChange: (e4) => {
8979
8983
  store.toogleAllPermissionWithType("isCreate", e4.target.checked);
8980
8984
  } }),
8981
- /* @__PURE__ */ jsxs52(MyFlexRow, { gap: 3, children: [
8985
+ /* @__PURE__ */ jsxs53(MyFlexRow, { gap: 3, children: [
8982
8986
  "Th\xEAm",
8983
- /* @__PURE__ */ jsx86(IconPlus5, { color: "blue" })
8987
+ /* @__PURE__ */ jsx87(IconPlus5, { color: "blue" })
8984
8988
  ] })
8985
8989
  ] }) }),
8986
- /* @__PURE__ */ jsx86(Table3.Th, { children: /* @__PURE__ */ jsxs52(Flex5, { gap: 3, direction: "column", justify: "center", align: "center", children: [
8987
- /* @__PURE__ */ jsx86(Checkbox3, { checked: store.isAllPermission("isUpdate"), onChange: (e4) => {
8990
+ /* @__PURE__ */ jsx87(Table3.Th, { children: /* @__PURE__ */ jsxs53(Flex6, { gap: 3, direction: "column", justify: "center", align: "center", children: [
8991
+ /* @__PURE__ */ jsx87(Checkbox3, { checked: store.isAllPermission("isUpdate"), onChange: (e4) => {
8988
8992
  store.toogleAllPermissionWithType("isUpdate", e4.target.checked);
8989
8993
  } }),
8990
- /* @__PURE__ */ jsxs52(MyFlexRow, { gap: 3, children: [
8994
+ /* @__PURE__ */ jsxs53(MyFlexRow, { gap: 3, children: [
8991
8995
  "S\u1EEDa",
8992
- /* @__PURE__ */ jsx86(IconEdit5, { color: "var(--mantine-color-yellow-8)" })
8996
+ /* @__PURE__ */ jsx87(IconEdit5, { color: "var(--mantine-color-yellow-8)" })
8993
8997
  ] })
8994
8998
  ] }) }),
8995
- /* @__PURE__ */ jsx86(Table3.Th, { children: /* @__PURE__ */ jsxs52(Flex5, { gap: 3, direction: "column", justify: "center", align: "center", children: [
8996
- /* @__PURE__ */ jsx86(Checkbox3, { checked: store.isAllPermission("isDelete"), onChange: (e4) => {
8999
+ /* @__PURE__ */ jsx87(Table3.Th, { children: /* @__PURE__ */ jsxs53(Flex6, { gap: 3, direction: "column", justify: "center", align: "center", children: [
9000
+ /* @__PURE__ */ jsx87(Checkbox3, { checked: store.isAllPermission("isDelete"), onChange: (e4) => {
8997
9001
  store.toogleAllPermissionWithType("isDelete", e4.target.checked);
8998
9002
  } }),
8999
- /* @__PURE__ */ jsxs52(MyFlexRow, { gap: 3, children: [
9003
+ /* @__PURE__ */ jsxs53(MyFlexRow, { gap: 3, children: [
9000
9004
  "X\xF3a",
9001
- /* @__PURE__ */ jsx86(IconTrash5, { color: "var(--mantine-color-red-8)" })
9005
+ /* @__PURE__ */ jsx87(IconTrash5, { color: "var(--mantine-color-red-8)" })
9002
9006
  ] })
9003
9007
  ] }) }),
9004
- /* @__PURE__ */ jsx86(Table3.Th, { children: /* @__PURE__ */ jsxs52(Flex5, { gap: 3, direction: "column", justify: "center", align: "center", children: [
9005
- /* @__PURE__ */ jsx86(Checkbox3, { checked: store.isAllPermission("isPrint"), onChange: (e4) => {
9008
+ /* @__PURE__ */ jsx87(Table3.Th, { children: /* @__PURE__ */ jsxs53(Flex6, { gap: 3, direction: "column", justify: "center", align: "center", children: [
9009
+ /* @__PURE__ */ jsx87(Checkbox3, { checked: store.isAllPermission("isPrint"), onChange: (e4) => {
9006
9010
  store.toogleAllPermissionWithType("isPrint", e4.target.checked);
9007
9011
  } }),
9008
- /* @__PURE__ */ jsxs52(MyFlexRow, { gap: 3, children: [
9012
+ /* @__PURE__ */ jsxs53(MyFlexRow, { gap: 3, children: [
9009
9013
  "In",
9010
- /* @__PURE__ */ jsx86(IconPrinter3, { color: "var(--mantine-color-cyan-8)" })
9014
+ /* @__PURE__ */ jsx87(IconPrinter3, { color: "var(--mantine-color-cyan-8)" })
9011
9015
  ] })
9012
9016
  ] }) }),
9013
- /* @__PURE__ */ jsx86(Table3.Th, { children: /* @__PURE__ */ jsxs52(Flex5, { gap: 3, direction: "column", justify: "center", align: "center", children: [
9014
- /* @__PURE__ */ jsx86(Checkbox3, { checked: store.isAllPermission("isExport"), onChange: (e4) => {
9017
+ /* @__PURE__ */ jsx87(Table3.Th, { children: /* @__PURE__ */ jsxs53(Flex6, { gap: 3, direction: "column", justify: "center", align: "center", children: [
9018
+ /* @__PURE__ */ jsx87(Checkbox3, { checked: store.isAllPermission("isExport"), onChange: (e4) => {
9015
9019
  store.toogleAllPermissionWithType("isExport", e4.target.checked);
9016
9020
  } }),
9017
- /* @__PURE__ */ jsxs52(MyFlexRow, { gap: 3, children: [
9021
+ /* @__PURE__ */ jsxs53(MyFlexRow, { gap: 3, children: [
9018
9022
  "Xu\u1EA5t",
9019
- /* @__PURE__ */ jsx86(IconFileExport2, { color: "var(--mantine-color-green-8)" })
9023
+ /* @__PURE__ */ jsx87(IconFileExport2, { color: "var(--mantine-color-green-8)" })
9020
9024
  ] })
9021
9025
  ] }) })
9022
9026
  ] })
9023
9027
  }
9024
9028
  ),
9025
- /* @__PURE__ */ jsx86(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) => {
9026
- if (item.links == void 0) return /* @__PURE__ */ jsxs52(Table3.Tr, { children: [
9027
- /* @__PURE__ */ jsx86(Table3.Td, { children: item.label }),
9028
- /* @__PURE__ */ jsx86(Table3.Td, { children: /* @__PURE__ */ jsx86(MyCenterFull, { children: /* @__PURE__ */ jsx86(Checkbox3, {}) }) }),
9029
- /* @__PURE__ */ jsx86(Table3.Td, { children: /* @__PURE__ */ jsx86(MyCenterFull, { children: /* @__PURE__ */ jsx86(Checkbox3, {}) }) }),
9030
- /* @__PURE__ */ jsx86(Table3.Td, { children: /* @__PURE__ */ jsx86(MyCenterFull, { children: /* @__PURE__ */ jsx86(Checkbox3, {}) }) }),
9031
- /* @__PURE__ */ jsx86(Table3.Td, { children: /* @__PURE__ */ jsx86(MyCenterFull, { children: /* @__PURE__ */ jsx86(Checkbox3, {}) }) }),
9032
- /* @__PURE__ */ jsx86(Table3.Td, { children: /* @__PURE__ */ jsx86(MyCenterFull, { children: /* @__PURE__ */ jsx86(Checkbox3, {}) }) }),
9033
- /* @__PURE__ */ jsx86(Table3.Td, { children: /* @__PURE__ */ jsx86(MyCenterFull, { children: /* @__PURE__ */ jsx86(Checkbox3, {}) }) })
9029
+ /* @__PURE__ */ jsx87(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) => {
9030
+ if (item.links == void 0) return /* @__PURE__ */ jsxs53(Table3.Tr, { children: [
9031
+ /* @__PURE__ */ jsx87(Table3.Td, { children: item.label }),
9032
+ /* @__PURE__ */ jsx87(Table3.Td, { children: /* @__PURE__ */ jsx87(MyCenterFull, { children: /* @__PURE__ */ jsx87(Checkbox3, {}) }) }),
9033
+ /* @__PURE__ */ jsx87(Table3.Td, { children: /* @__PURE__ */ jsx87(MyCenterFull, { children: /* @__PURE__ */ jsx87(Checkbox3, {}) }) }),
9034
+ /* @__PURE__ */ jsx87(Table3.Td, { children: /* @__PURE__ */ jsx87(MyCenterFull, { children: /* @__PURE__ */ jsx87(Checkbox3, {}) }) }),
9035
+ /* @__PURE__ */ jsx87(Table3.Td, { children: /* @__PURE__ */ jsx87(MyCenterFull, { children: /* @__PURE__ */ jsx87(Checkbox3, {}) }) }),
9036
+ /* @__PURE__ */ jsx87(Table3.Td, { children: /* @__PURE__ */ jsx87(MyCenterFull, { children: /* @__PURE__ */ jsx87(Checkbox3, {}) }) }),
9037
+ /* @__PURE__ */ jsx87(Table3.Td, { children: /* @__PURE__ */ jsx87(MyCenterFull, { children: /* @__PURE__ */ jsx87(Checkbox3, {}) }) })
9034
9038
  ] }, idx);
9035
- return /* @__PURE__ */ jsxs52(React2.Fragment, { children: [
9036
- /* @__PURE__ */ jsx86(Table3.Tr, { children: /* @__PURE__ */ jsx86(
9039
+ return /* @__PURE__ */ jsxs53(React2.Fragment, { children: [
9040
+ /* @__PURE__ */ jsx87(Table3.Tr, { children: /* @__PURE__ */ jsx87(
9037
9041
  Table3.Td,
9038
9042
  {
9039
9043
  colSpan: 7,
9040
9044
  bg: OBJECT_COlORS.mantineBackgroundBlueLight,
9041
- children: /* @__PURE__ */ jsx86(Text14, { fs: "oblique", size: "sm", fw: "bold", children: item.label })
9045
+ children: /* @__PURE__ */ jsx87(Text15, { fs: "oblique", size: "sm", fw: "bold", children: item.label })
9042
9046
  }
9043
9047
  ) }, item.label),
9044
9048
  item.links.map(
9045
9049
  (item2, idx2) => {
9046
9050
  var _a2, _b2, _c, _d, _e, _f;
9047
- return /* @__PURE__ */ jsxs52(Table3.Tr, { children: [
9048
- /* @__PURE__ */ jsx86(Table3.Td, { children: item2.label }),
9049
- /* @__PURE__ */ jsx86(Table3.Td, { children: /* @__PURE__ */ jsx86(MyCenterFull, { children: /* @__PURE__ */ jsx86(
9051
+ return /* @__PURE__ */ jsxs53(Table3.Tr, { children: [
9052
+ /* @__PURE__ */ jsx87(Table3.Td, { children: item2.label }),
9053
+ /* @__PURE__ */ jsx87(Table3.Td, { children: /* @__PURE__ */ jsx87(MyCenterFull, { children: /* @__PURE__ */ jsx87(
9050
9054
  Checkbox3,
9051
9055
  {
9052
9056
  checked: ((_a2 = store.findByPageId(item2.pageId)) == null ? void 0 : _a2.isRead) || false,
@@ -9057,7 +9061,7 @@ function F_core38677_ViewMenuPermissions({ menuData: menuData2 }) {
9057
9061
  }
9058
9062
  }
9059
9063
  ) }) }),
9060
- /* @__PURE__ */ jsx86(Table3.Td, { children: /* @__PURE__ */ jsx86(MyCenterFull, { children: /* @__PURE__ */ jsx86(
9064
+ /* @__PURE__ */ jsx87(Table3.Td, { children: /* @__PURE__ */ jsx87(MyCenterFull, { children: /* @__PURE__ */ jsx87(
9061
9065
  Checkbox3,
9062
9066
  {
9063
9067
  checked: ((_b2 = store.findByPageId(item2.pageId)) == null ? void 0 : _b2.isCreate) || false,
@@ -9068,7 +9072,7 @@ function F_core38677_ViewMenuPermissions({ menuData: menuData2 }) {
9068
9072
  }
9069
9073
  }
9070
9074
  ) }) }),
9071
- /* @__PURE__ */ jsx86(Table3.Td, { children: /* @__PURE__ */ jsx86(MyCenterFull, { children: /* @__PURE__ */ jsx86(
9075
+ /* @__PURE__ */ jsx87(Table3.Td, { children: /* @__PURE__ */ jsx87(MyCenterFull, { children: /* @__PURE__ */ jsx87(
9072
9076
  Checkbox3,
9073
9077
  {
9074
9078
  checked: ((_c = store.findByPageId(item2.pageId)) == null ? void 0 : _c.isUpdate) || false,
@@ -9079,7 +9083,7 @@ function F_core38677_ViewMenuPermissions({ menuData: menuData2 }) {
9079
9083
  }
9080
9084
  }
9081
9085
  ) }) }),
9082
- /* @__PURE__ */ jsx86(Table3.Td, { children: /* @__PURE__ */ jsx86(MyCenterFull, { children: /* @__PURE__ */ jsx86(
9086
+ /* @__PURE__ */ jsx87(Table3.Td, { children: /* @__PURE__ */ jsx87(MyCenterFull, { children: /* @__PURE__ */ jsx87(
9083
9087
  Checkbox3,
9084
9088
  {
9085
9089
  checked: ((_d = store.findByPageId(item2.pageId)) == null ? void 0 : _d.isDelete) || false,
@@ -9090,7 +9094,7 @@ function F_core38677_ViewMenuPermissions({ menuData: menuData2 }) {
9090
9094
  }
9091
9095
  }
9092
9096
  ) }) }),
9093
- /* @__PURE__ */ jsx86(Table3.Td, { children: /* @__PURE__ */ jsx86(MyCenterFull, { children: /* @__PURE__ */ jsx86(
9097
+ /* @__PURE__ */ jsx87(Table3.Td, { children: /* @__PURE__ */ jsx87(MyCenterFull, { children: /* @__PURE__ */ jsx87(
9094
9098
  Checkbox3,
9095
9099
  {
9096
9100
  checked: ((_e = store.findByPageId(item2.pageId)) == null ? void 0 : _e.isPrint) || false,
@@ -9101,7 +9105,7 @@ function F_core38677_ViewMenuPermissions({ menuData: menuData2 }) {
9101
9105
  }
9102
9106
  }
9103
9107
  ) }) }),
9104
- /* @__PURE__ */ jsx86(Table3.Td, { children: /* @__PURE__ */ jsx86(MyCenterFull, { children: /* @__PURE__ */ jsx86(
9108
+ /* @__PURE__ */ jsx87(Table3.Td, { children: /* @__PURE__ */ jsx87(MyCenterFull, { children: /* @__PURE__ */ jsx87(
9105
9109
  Checkbox3,
9106
9110
  {
9107
9111
  checked: ((_f = store.findByPageId(item2.pageId)) == null ? void 0 : _f.isExport) || false,
@@ -9157,13 +9161,13 @@ function useGetUserPermission() {
9157
9161
  }
9158
9162
 
9159
9163
  // src/modules-features/admin/core/core38677/F_core38677.tsx
9160
- import { jsx as jsx87, jsxs as jsxs53 } from "react/jsx-runtime";
9164
+ import { jsx as jsx88, jsxs as jsxs54 } from "react/jsx-runtime";
9161
9165
  function F_core38677({ menuData: menuData2 }) {
9162
- return /* @__PURE__ */ jsxs53(Grid2, { grow: true, children: [
9163
- /* @__PURE__ */ jsx87(Grid2.Col, { span: 4, children: /* @__PURE__ */ jsx87(F_core38677_ReadUser, {}) }),
9164
- /* @__PURE__ */ jsx87(Grid2.Col, { span: 8, children: /* @__PURE__ */ jsxs53(MyFlexColumn, { h: "80vh", flex: 1, children: [
9165
- /* @__PURE__ */ jsx87(ScrollArea6.Autosize, { h: "100%", children: /* @__PURE__ */ jsx87(Paper10, { p: "md", bg: OBJECT_COlORS.mantineBackgroundSecondary, children: /* @__PURE__ */ jsx87(F_core38677_ViewMenuPermissions, { menuData: menuData2 }) }) }),
9166
- /* @__PURE__ */ jsx87(F_core38677_Save, {})
9166
+ return /* @__PURE__ */ jsxs54(Grid2, { grow: true, children: [
9167
+ /* @__PURE__ */ jsx88(Grid2.Col, { span: 4, children: /* @__PURE__ */ jsx88(F_core38677_ReadUser, {}) }),
9168
+ /* @__PURE__ */ jsx88(Grid2.Col, { span: 8, children: /* @__PURE__ */ jsxs54(MyFlexColumn, { h: "80vh", flex: 1, children: [
9169
+ /* @__PURE__ */ jsx88(ScrollArea6.Autosize, { h: "100%", children: /* @__PURE__ */ jsx88(Paper11, { p: "md", bg: OBJECT_COlORS.mantineBackgroundSecondary, children: /* @__PURE__ */ jsx88(F_core38677_ViewMenuPermissions, { menuData: menuData2 }) }) }),
9170
+ /* @__PURE__ */ jsx88(F_core38677_Save, {})
9167
9171
  ] }) })
9168
9172
  ] });
9169
9173
  }
@@ -9175,7 +9179,7 @@ import { useMemo as useMemo9 } from "react";
9175
9179
  // src/modules-features/admin/core/core40207/F_core40207_Create.tsx
9176
9180
  import { FileInput as FileInput6 } from "@mantine/core";
9177
9181
  import { useForm as useForm11 } from "@mantine/form";
9178
- import { jsx as jsx88, jsxs as jsxs54 } from "react/jsx-runtime";
9182
+ import { jsx as jsx89, jsxs as jsxs55 } from "react/jsx-runtime";
9179
9183
  function F_core40207_Create({ GuidelineTypeId }) {
9180
9184
  const form = useForm11({
9181
9185
  mode: "uncontrolled",
@@ -9185,7 +9189,7 @@ function F_core40207_Create({ GuidelineTypeId }) {
9185
9189
  file: (value) => value ? null : "Kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng"
9186
9190
  }
9187
9191
  });
9188
- return /* @__PURE__ */ jsxs54(
9192
+ return /* @__PURE__ */ jsxs55(
9189
9193
  MyButtonCreate,
9190
9194
  {
9191
9195
  objectName: "v\u0103n b\u1EA3n",
@@ -9198,21 +9202,21 @@ function F_core40207_Create({ GuidelineTypeId }) {
9198
9202
  }));
9199
9203
  },
9200
9204
  children: [
9201
- /* @__PURE__ */ jsx88(
9205
+ /* @__PURE__ */ jsx89(
9202
9206
  MyTextInput,
9203
9207
  __spreadValues({
9204
9208
  withAsterisk: true,
9205
9209
  label: "M\xE3 t\xE0i li\u1EC7u"
9206
9210
  }, form.getInputProps("code"))
9207
9211
  ),
9208
- /* @__PURE__ */ jsx88(
9212
+ /* @__PURE__ */ jsx89(
9209
9213
  MyTextInput,
9210
9214
  __spreadValues({
9211
9215
  withAsterisk: true,
9212
9216
  label: "T\xEAn t\xE0i li\u1EC7u"
9213
9217
  }, form.getInputProps("name"))
9214
9218
  ),
9215
- /* @__PURE__ */ jsx88(
9219
+ /* @__PURE__ */ jsx89(
9216
9220
  FileInput6,
9217
9221
  __spreadValues({
9218
9222
  withAsterisk: true,
@@ -9226,12 +9230,12 @@ function F_core40207_Create({ GuidelineTypeId }) {
9226
9230
  }
9227
9231
 
9228
9232
  // src/modules-features/admin/core/core40207/F_core40207_Delete.tsx
9229
- import { jsx as jsx89 } from "react/jsx-runtime";
9233
+ import { jsx as jsx90 } from "react/jsx-runtime";
9230
9234
  function F_core40207_Delete({
9231
9235
  id,
9232
9236
  contextData
9233
9237
  }) {
9234
- return /* @__PURE__ */ jsx89(
9238
+ return /* @__PURE__ */ jsx90(
9235
9239
  MyActionIconDelete,
9236
9240
  {
9237
9241
  contextData,
@@ -9243,7 +9247,7 @@ function F_core40207_Delete({
9243
9247
  // src/modules-features/admin/core/core40207/F_core40207_Update.tsx
9244
9248
  import { FileInput as FileInput7 } from "@mantine/core";
9245
9249
  import { useForm as useForm12 } from "@mantine/form";
9246
- import { jsx as jsx90, jsxs as jsxs55 } from "react/jsx-runtime";
9250
+ import { jsx as jsx91, jsxs as jsxs56 } from "react/jsx-runtime";
9247
9251
  function F_core40207_Update({ values }) {
9248
9252
  var _a;
9249
9253
  const form = useForm12({
@@ -9260,7 +9264,7 @@ function F_core40207_Update({ values }) {
9260
9264
  file: (value) => value ? null : "Kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng"
9261
9265
  }
9262
9266
  });
9263
- return /* @__PURE__ */ jsxs55(
9267
+ return /* @__PURE__ */ jsxs56(
9264
9268
  MyActionIconUpdate,
9265
9269
  {
9266
9270
  form,
@@ -9270,21 +9274,21 @@ function F_core40207_Update({ values }) {
9270
9274
  }));
9271
9275
  },
9272
9276
  children: [
9273
- /* @__PURE__ */ jsx90(
9277
+ /* @__PURE__ */ jsx91(
9274
9278
  MyTextInput,
9275
9279
  __spreadValues({
9276
9280
  withAsterisk: true,
9277
9281
  label: "M\xE3 t\xE0i li\u1EC7u"
9278
9282
  }, form.getInputProps("code"))
9279
9283
  ),
9280
- /* @__PURE__ */ jsx90(
9284
+ /* @__PURE__ */ jsx91(
9281
9285
  MyTextInput,
9282
9286
  __spreadValues({
9283
9287
  withAsterisk: true,
9284
9288
  label: "T\xEAn t\xE0i li\u1EC7u"
9285
9289
  }, form.getInputProps("name"))
9286
9290
  ),
9287
- /* @__PURE__ */ jsx90(
9291
+ /* @__PURE__ */ jsx91(
9288
9292
  FileInput7,
9289
9293
  __spreadValues({
9290
9294
  withAsterisk: true,
@@ -9298,7 +9302,7 @@ function F_core40207_Update({ values }) {
9298
9302
  }
9299
9303
 
9300
9304
  // src/modules-features/admin/core/core40207/F_core40207_Read.tsx
9301
- import { jsx as jsx91, jsxs as jsxs56 } from "react/jsx-runtime";
9305
+ import { jsx as jsx92, jsxs as jsxs57 } from "react/jsx-runtime";
9302
9306
  function F_core40207_Read({ GuidelineTypeId }) {
9303
9307
  const query = useQuery11({
9304
9308
  queryKey: ["F_core40207_Read"],
@@ -9323,7 +9327,7 @@ function F_core40207_Read({ GuidelineTypeId }) {
9323
9327
  {
9324
9328
  header: "File",
9325
9329
  accessorFn: (row) => {
9326
- return /* @__PURE__ */ jsx91(MyCenterFull, { children: /* @__PURE__ */ jsx91(MyButtonViewPDF, { id: row.id }) });
9330
+ return /* @__PURE__ */ jsx92(MyCenterFull, { children: /* @__PURE__ */ jsx92(MyButtonViewPDF, { id: row.id }) });
9327
9331
  }
9328
9332
  }
9329
9333
  ],
@@ -9331,16 +9335,16 @@ function F_core40207_Read({ GuidelineTypeId }) {
9331
9335
  );
9332
9336
  if (query.isLoading) return "Loading...";
9333
9337
  if (query.isError) return "c\xF3 l\u1ED7i x\u1EA3y ra!";
9334
- return /* @__PURE__ */ jsx91(
9338
+ return /* @__PURE__ */ jsx92(
9335
9339
  MyDataTable,
9336
9340
  {
9337
9341
  columns,
9338
9342
  data: query.data,
9339
- renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx91(F_core40207_Create, { GuidelineTypeId }),
9343
+ renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx92(F_core40207_Create, { GuidelineTypeId }),
9340
9344
  renderRowActions: ({ row }) => {
9341
- return /* @__PURE__ */ jsxs56(MyCenterFull, { children: [
9342
- /* @__PURE__ */ jsx91(F_core40207_Update, { values: row.original }),
9343
- /* @__PURE__ */ jsx91(
9345
+ return /* @__PURE__ */ jsxs57(MyCenterFull, { children: [
9346
+ /* @__PURE__ */ jsx92(F_core40207_Update, { values: row.original }),
9347
+ /* @__PURE__ */ jsx92(
9344
9348
  F_core40207_Delete,
9345
9349
  {
9346
9350
  id: row.original.id,
@@ -9354,21 +9358,21 @@ function F_core40207_Read({ GuidelineTypeId }) {
9354
9358
  }
9355
9359
 
9356
9360
  // src/modules-features/admin/core/core40207/F_core40207.tsx
9357
- import { jsx as jsx92 } from "react/jsx-runtime";
9361
+ import { jsx as jsx93 } from "react/jsx-runtime";
9358
9362
  function F_core40207({ GuidelineTypeId }) {
9359
- return /* @__PURE__ */ jsx92(F_core40207_Read, { GuidelineTypeId });
9363
+ return /* @__PURE__ */ jsx93(F_core40207_Read, { GuidelineTypeId });
9360
9364
  }
9361
9365
 
9362
9366
  // src/modules-features/admin/core/core47643/F_core47643_Read.tsx
9363
- import { Group as Group16 } from "@mantine/core";
9367
+ import { Group as Group17 } from "@mantine/core";
9364
9368
  import { useQuery as useQuery12 } from "@tanstack/react-query";
9365
9369
  import { useMemo as useMemo10 } from "react";
9366
9370
 
9367
9371
  // src/modules-features/admin/core/core47643/F_core47643_Delete.tsx
9368
- import { jsx as jsx93 } from "react/jsx-runtime";
9372
+ import { jsx as jsx94 } from "react/jsx-runtime";
9369
9373
  var ENDPOINT = "/Role/Delete";
9370
9374
  function F_core47643_Delete({ values }) {
9371
- return /* @__PURE__ */ jsx93(
9375
+ return /* @__PURE__ */ jsx94(
9372
9376
  MyActionIconDelete,
9373
9377
  {
9374
9378
  contextData: values.code,
@@ -9379,28 +9383,28 @@ function F_core47643_Delete({ values }) {
9379
9383
 
9380
9384
  // src/modules-features/admin/core/core47643/F_core47643_Form.tsx
9381
9385
  import { useForm as useForm13 } from "@mantine/form";
9382
- import { jsx as jsx94, jsxs as jsxs57 } from "react/jsx-runtime";
9386
+ import { jsx as jsx95, jsxs as jsxs58 } from "react/jsx-runtime";
9383
9387
  function F_core47643_Form({ values }) {
9384
9388
  const form = useForm13({
9385
9389
  mode: "uncontrolled",
9386
9390
  initialValues: values
9387
9391
  });
9388
- if (values) return /* @__PURE__ */ jsxs57(MyActionIconUpdate, { form, onSubmit: async () => {
9392
+ if (values) return /* @__PURE__ */ jsxs58(MyActionIconUpdate, { form, onSubmit: async () => {
9389
9393
  return await baseAxios_default.post("/Role/Update", form.getValues());
9390
9394
  }, children: [
9391
- /* @__PURE__ */ jsx94(MyTextInput, __spreadValues({ readOnly: true, variant: "filled", label: "M\xE3" }, form.getInputProps("code"))),
9392
- /* @__PURE__ */ jsx94(MyTextInput, __spreadValues({ label: "Quy\u1EC1n" }, form.getInputProps("name")))
9395
+ /* @__PURE__ */ jsx95(MyTextInput, __spreadValues({ readOnly: true, variant: "filled", label: "M\xE3" }, form.getInputProps("code"))),
9396
+ /* @__PURE__ */ jsx95(MyTextInput, __spreadValues({ label: "Quy\u1EC1n" }, form.getInputProps("name")))
9393
9397
  ] });
9394
- return /* @__PURE__ */ jsxs57(MyButtonCreate, { form, onSubmit: async () => {
9398
+ return /* @__PURE__ */ jsxs58(MyButtonCreate, { form, onSubmit: async () => {
9395
9399
  return await baseAxios_default.post("/Role/Create", form.getValues());
9396
9400
  }, children: [
9397
- /* @__PURE__ */ jsx94(MyTextInput, __spreadValues({ label: "M\xE3" }, form.getInputProps("code"))),
9398
- /* @__PURE__ */ jsx94(MyTextInput, __spreadValues({ label: "Quy\u1EC1n" }, form.getInputProps("name")))
9401
+ /* @__PURE__ */ jsx95(MyTextInput, __spreadValues({ label: "M\xE3" }, form.getInputProps("code"))),
9402
+ /* @__PURE__ */ jsx95(MyTextInput, __spreadValues({ label: "Quy\u1EC1n" }, form.getInputProps("name")))
9399
9403
  ] });
9400
9404
  }
9401
9405
 
9402
9406
  // src/modules-features/admin/core/core47643/F_core47643_Read.tsx
9403
- import { jsx as jsx95, jsxs as jsxs58 } from "react/jsx-runtime";
9407
+ import { jsx as jsx96, jsxs as jsxs59 } from "react/jsx-runtime";
9404
9408
  function F_core47643_Read() {
9405
9409
  const query = useQ_core47643_GetAdminRole();
9406
9410
  const columns = useMemo10(() => [
@@ -9415,15 +9419,15 @@ function F_core47643_Read() {
9415
9419
  ], []);
9416
9420
  if (query.isLoading) return "\u0110ang t\u1EA3i d\u1EEF li\u1EC7u...";
9417
9421
  if (query.isError) return "C\xF3 l\u1ED7i x\u1EA3y ra!";
9418
- return /* @__PURE__ */ jsx95(
9422
+ return /* @__PURE__ */ jsx96(
9419
9423
  MyDataTable,
9420
9424
  {
9421
9425
  data: query.data,
9422
9426
  columns,
9423
- renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx95(Group16, { children: /* @__PURE__ */ jsx95(F_core47643_Form, {}) }),
9424
- renderRowActions: ({ row }) => /* @__PURE__ */ jsxs58(MyCenterFull, { children: [
9425
- /* @__PURE__ */ jsx95(F_core47643_Form, { values: row.original }),
9426
- /* @__PURE__ */ jsx95(F_core47643_Delete, { values: row.original })
9427
+ renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx96(Group17, { children: /* @__PURE__ */ jsx96(F_core47643_Form, {}) }),
9428
+ renderRowActions: ({ row }) => /* @__PURE__ */ jsxs59(MyCenterFull, { children: [
9429
+ /* @__PURE__ */ jsx96(F_core47643_Form, { values: row.original }),
9430
+ /* @__PURE__ */ jsx96(F_core47643_Delete, { values: row.original })
9427
9431
  ] })
9428
9432
  }
9429
9433
  );
@@ -9440,16 +9444,16 @@ function useQ_core47643_GetAdminRole() {
9440
9444
  }
9441
9445
 
9442
9446
  // src/modules-features/admin/core/core47643/F_core47643.tsx
9443
- import { jsx as jsx96 } from "react/jsx-runtime";
9447
+ import { jsx as jsx97 } from "react/jsx-runtime";
9444
9448
  function F_core47643() {
9445
- return /* @__PURE__ */ jsx96(MyPageContent, { title: "Danh m\u1EE5c quy\u1EC1n", canBack: true, children: /* @__PURE__ */ jsx96(F_core47643_Read, {}) });
9449
+ return /* @__PURE__ */ jsx97(MyPageContent, { title: "Danh m\u1EE5c quy\u1EC1n", canBack: true, children: /* @__PURE__ */ jsx97(F_core47643_Read, {}) });
9446
9450
  }
9447
9451
 
9448
9452
  // src/modules-features/admin/core/core60524/F_core60524.tsx
9449
9453
  import { useEffect as useEffect12 } from "react";
9450
9454
 
9451
9455
  // src/modules-features/admin/core/core60524/F_core60524_Form.tsx
9452
- import { Grid as Grid3, Paper as Paper11 } from "@mantine/core";
9456
+ import { Grid as Grid3, Paper as Paper12 } from "@mantine/core";
9453
9457
  import { useForm as useForm14 } from "@mantine/form";
9454
9458
  import { useEffect as useEffect11 } from "react";
9455
9459
 
@@ -9466,7 +9470,7 @@ function useS_core60524() {
9466
9470
  }
9467
9471
 
9468
9472
  // src/modules-features/admin/core/core60524/F_core60524_Save.tsx
9469
- import { jsx as jsx97 } from "react/jsx-runtime";
9473
+ import { jsx as jsx98 } from "react/jsx-runtime";
9470
9474
  function F_core60524_Save({
9471
9475
  form
9472
9476
  }) {
@@ -9500,7 +9504,7 @@ function F_core60524_Save({
9500
9504
  }
9501
9505
  });
9502
9506
  }
9503
- return /* @__PURE__ */ jsx97(
9507
+ return /* @__PURE__ */ jsx98(
9504
9508
  MyButton,
9505
9509
  {
9506
9510
  disabled: !form.isDirty(),
@@ -9511,7 +9515,7 @@ function F_core60524_Save({
9511
9515
  }
9512
9516
 
9513
9517
  // src/modules-features/admin/core/core60524/F_core60524_Form.tsx
9514
- import { jsx as jsx98, jsxs as jsxs59 } from "react/jsx-runtime";
9518
+ import { jsx as jsx99, jsxs as jsxs60 } from "react/jsx-runtime";
9515
9519
  function F_core60524_Form() {
9516
9520
  const query = useQ_AQ_GetAQModule();
9517
9521
  const form = useForm14({
@@ -9542,14 +9546,14 @@ function F_core60524_Form() {
9542
9546
  form.setInitialValues(values);
9543
9547
  form.setValues(values);
9544
9548
  }, [query.data]);
9545
- return /* @__PURE__ */ jsxs59(Paper11, { p: "md", children: [
9546
- /* @__PURE__ */ jsxs59(Grid3, { children: [
9547
- /* @__PURE__ */ jsx98(Grid3.Col, { span: 5, children: /* @__PURE__ */ jsx98(MyTextInput, __spreadProps(__spreadValues({}, form.getInputProps("code")), { label: "M\xE3 module", disabled: true })) }),
9548
- /* @__PURE__ */ jsx98(Grid3.Col, { span: { base: 12, md: 7 }, children: /* @__PURE__ */ jsx98(MyTextInput, __spreadProps(__spreadValues({}, form.getInputProps("name")), { label: "T\xEAn module" })) }),
9549
- /* @__PURE__ */ jsx98(Grid3.Col, { span: 12, children: /* @__PURE__ */ jsx98(MyTextInput, __spreadProps(__spreadValues({}, form.getInputProps("officelName")), { label: "T\xEAn \u0111\u01A1n v\u1ECB ch\u1EE7 qu\u1EA3n" })) }),
9550
- /* @__PURE__ */ jsx98(Grid3.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx98(MyTextInput, __spreadProps(__spreadValues({}, form.getInputProps("email")), { label: "Email" })) }),
9551
- /* @__PURE__ */ jsx98(Grid3.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx98(MyTextInput, __spreadProps(__spreadValues({ isPhoneNumber: true }, form.getInputProps("phoneNumber")), { label: "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i" })) }),
9552
- /* @__PURE__ */ jsx98(Grid3.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx98(
9549
+ return /* @__PURE__ */ jsxs60(Paper12, { p: "md", children: [
9550
+ /* @__PURE__ */ jsxs60(Grid3, { children: [
9551
+ /* @__PURE__ */ jsx99(Grid3.Col, { span: 5, children: /* @__PURE__ */ jsx99(MyTextInput, __spreadProps(__spreadValues({}, form.getInputProps("code")), { label: "M\xE3 module", disabled: true })) }),
9552
+ /* @__PURE__ */ jsx99(Grid3.Col, { span: { base: 12, md: 7 }, children: /* @__PURE__ */ jsx99(MyTextInput, __spreadProps(__spreadValues({}, form.getInputProps("name")), { label: "T\xEAn module" })) }),
9553
+ /* @__PURE__ */ jsx99(Grid3.Col, { span: 12, children: /* @__PURE__ */ jsx99(MyTextInput, __spreadProps(__spreadValues({}, form.getInputProps("officelName")), { label: "T\xEAn \u0111\u01A1n v\u1ECB ch\u1EE7 qu\u1EA3n" })) }),
9554
+ /* @__PURE__ */ jsx99(Grid3.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx99(MyTextInput, __spreadProps(__spreadValues({}, form.getInputProps("email")), { label: "Email" })) }),
9555
+ /* @__PURE__ */ jsx99(Grid3.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx99(MyTextInput, __spreadProps(__spreadValues({ isPhoneNumber: true }, form.getInputProps("phoneNumber")), { label: "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i" })) }),
9556
+ /* @__PURE__ */ jsx99(Grid3.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx99(
9553
9557
  MyDateInput,
9554
9558
  {
9555
9559
  value: form.getValues().registrationDate,
@@ -9557,7 +9561,7 @@ function F_core60524_Form() {
9557
9561
  label: "Ng\xE0y \u0111\u0103ng k\xFD"
9558
9562
  }
9559
9563
  ) }),
9560
- /* @__PURE__ */ jsx98(Grid3.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx98(
9564
+ /* @__PURE__ */ jsx99(Grid3.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx99(
9561
9565
  MyDateInput,
9562
9566
  {
9563
9567
  value: form.getValues().limiteDate,
@@ -9565,7 +9569,7 @@ function F_core60524_Form() {
9565
9569
  label: "Ng\xE0y h\u1EBFt h\u1EA1n"
9566
9570
  }
9567
9571
  ) }),
9568
- /* @__PURE__ */ jsx98(Grid3.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx98(
9572
+ /* @__PURE__ */ jsx99(Grid3.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx99(
9569
9573
  MyFileInput,
9570
9574
  {
9571
9575
  accept: "image/png,image/jpeg",
@@ -9577,7 +9581,7 @@ function F_core60524_Form() {
9577
9581
  }
9578
9582
  }
9579
9583
  ) }),
9580
- /* @__PURE__ */ jsx98(Grid3.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx98(
9584
+ /* @__PURE__ */ jsx99(Grid3.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx99(
9581
9585
  MyFileInput,
9582
9586
  {
9583
9587
  accept: "image/png,image/jpeg",
@@ -9590,18 +9594,18 @@ function F_core60524_Form() {
9590
9594
  }
9591
9595
  ) })
9592
9596
  ] }),
9593
- /* @__PURE__ */ jsx98(MyFlexEnd, { children: /* @__PURE__ */ jsx98(F_core60524_Save, { form }) })
9597
+ /* @__PURE__ */ jsx99(MyFlexEnd, { children: /* @__PURE__ */ jsx99(F_core60524_Save, { form }) })
9594
9598
  ] });
9595
9599
  }
9596
9600
 
9597
9601
  // src/modules-features/admin/core/core60524/F_core60524.tsx
9598
- import { jsx as jsx99 } from "react/jsx-runtime";
9602
+ import { jsx as jsx100 } from "react/jsx-runtime";
9599
9603
  function F_core60524({ AQModuleId }) {
9600
9604
  const store = useS_core60524();
9601
9605
  useEffect12(() => {
9602
9606
  store.setProperty("AQModuleId", AQModuleId);
9603
9607
  }, []);
9604
- return /* @__PURE__ */ jsx99(F_core60524_Form, {});
9608
+ return /* @__PURE__ */ jsx100(F_core60524_Form, {});
9605
9609
  }
9606
9610
 
9607
9611
  // src/constants/enum/ENUM_EMAILCONFIG.ts
@@ -9620,7 +9624,7 @@ import { useMemo as useMemo11 } from "react";
9620
9624
  // src/modules-features/admin/core/core64229/F_core64229_Form.tsx
9621
9625
  import { PasswordInput } from "@mantine/core";
9622
9626
  import { useForm as useForm15 } from "@mantine/form";
9623
- import { jsx as jsx100, jsxs as jsxs60 } from "react/jsx-runtime";
9627
+ import { jsx as jsx101, jsxs as jsxs61 } from "react/jsx-runtime";
9624
9628
  function F_core64229_Form({ values }) {
9625
9629
  const form = useForm15({
9626
9630
  mode: "uncontrolled",
@@ -9646,27 +9650,27 @@ function F_core64229_Form({ values }) {
9646
9650
  "password": formValues.password
9647
9651
  });
9648
9652
  }
9649
- if (values) return /* @__PURE__ */ jsx100(
9653
+ if (values) return /* @__PURE__ */ jsx101(
9650
9654
  MyActionIconUpdate,
9651
9655
  {
9652
9656
  form,
9653
9657
  onSubmit: handleSubmit,
9654
- children: /* @__PURE__ */ jsx100(FormInput, { form })
9658
+ children: /* @__PURE__ */ jsx101(FormInput, { form })
9655
9659
  }
9656
9660
  );
9657
- return /* @__PURE__ */ jsx100(
9661
+ return /* @__PURE__ */ jsx101(
9658
9662
  MyButtonCreate,
9659
9663
  {
9660
9664
  form,
9661
9665
  onSubmit: handleSubmit,
9662
- children: /* @__PURE__ */ jsx100(FormInput, { form })
9666
+ children: /* @__PURE__ */ jsx101(FormInput, { form })
9663
9667
  }
9664
9668
  );
9665
9669
  }
9666
9670
  function FormInput({ form }) {
9667
9671
  var _a, _b;
9668
- return /* @__PURE__ */ jsxs60(MyFlexColumn, { children: [
9669
- /* @__PURE__ */ jsx100(
9672
+ return /* @__PURE__ */ jsxs61(MyFlexColumn, { children: [
9673
+ /* @__PURE__ */ jsx101(
9670
9674
  MySelect,
9671
9675
  __spreadProps(__spreadValues({
9672
9676
  label: "Ph\xE2n h\u1EC7",
@@ -9675,25 +9679,25 @@ function FormInput({ form }) {
9675
9679
  value: (_a = form.getValues().emailModule) == null ? void 0 : _a.toString()
9676
9680
  })
9677
9681
  ),
9678
- /* @__PURE__ */ jsx100(
9682
+ /* @__PURE__ */ jsx101(
9679
9683
  MyTextInput,
9680
9684
  __spreadValues({
9681
9685
  label: "Host mail server"
9682
9686
  }, form.getInputProps("hostMailServer"))
9683
9687
  ),
9684
- /* @__PURE__ */ jsx100(
9688
+ /* @__PURE__ */ jsx101(
9685
9689
  MyNumberInput,
9686
9690
  __spreadValues({
9687
9691
  label: "Outgoing port"
9688
9692
  }, form.getInputProps("outgoingPort"))
9689
9693
  ),
9690
- /* @__PURE__ */ jsx100(
9694
+ /* @__PURE__ */ jsx101(
9691
9695
  MyNumberInput,
9692
9696
  __spreadValues({
9693
9697
  label: "Incoming port"
9694
9698
  }, form.getInputProps("incomingPort"))
9695
9699
  ),
9696
- /* @__PURE__ */ jsx100(
9700
+ /* @__PURE__ */ jsx101(
9697
9701
  MySelect,
9698
9702
  {
9699
9703
  label: "SSL",
@@ -9702,13 +9706,13 @@ function FormInput({ form }) {
9702
9706
  onChange: (e4) => form.setFieldValue("sll", e4 == "true" ? true : false)
9703
9707
  }
9704
9708
  ),
9705
- /* @__PURE__ */ jsx100(
9709
+ /* @__PURE__ */ jsx101(
9706
9710
  MyTextInput,
9707
9711
  __spreadValues({
9708
9712
  label: "Username"
9709
9713
  }, form.getInputProps("userName"))
9710
9714
  ),
9711
- /* @__PURE__ */ jsx100(
9715
+ /* @__PURE__ */ jsx101(
9712
9716
  PasswordInput,
9713
9717
  __spreadValues({
9714
9718
  label: "Password",
@@ -9719,9 +9723,9 @@ function FormInput({ form }) {
9719
9723
  }
9720
9724
 
9721
9725
  // src/modules-features/admin/core/core64229/F_core64229_Delete.tsx
9722
- import { jsx as jsx101 } from "react/jsx-runtime";
9726
+ import { jsx as jsx102 } from "react/jsx-runtime";
9723
9727
  function F_core64229_Delete({ values }) {
9724
- return /* @__PURE__ */ jsx101(
9728
+ return /* @__PURE__ */ jsx102(
9725
9729
  MyActionIconDelete,
9726
9730
  {
9727
9731
  contextData: values == null ? void 0 : values.code,
@@ -9735,7 +9739,7 @@ function F_core64229_Delete({ values }) {
9735
9739
  }
9736
9740
 
9737
9741
  // src/modules-features/admin/core/core64229/F_core64229_Read.tsx
9738
- import { jsx as jsx102, jsxs as jsxs61 } from "react/jsx-runtime";
9742
+ import { jsx as jsx103, jsxs as jsxs62 } from "react/jsx-runtime";
9739
9743
  function F_core64229_Read() {
9740
9744
  const query = useQuery13({
9741
9745
  queryKey: ["F_core64229_Read"],
@@ -9780,39 +9784,39 @@ function F_core64229_Read() {
9780
9784
  }
9781
9785
  ], []);
9782
9786
  if (query.isLoading) return "\u0110ang t\u1EA3i";
9783
- return /* @__PURE__ */ jsx102(
9787
+ return /* @__PURE__ */ jsx103(
9784
9788
  MyDataTable,
9785
9789
  {
9786
9790
  columns,
9787
9791
  data: query.data,
9788
- renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx102(F_core64229_Form, {}),
9789
- renderRowActions: ({ row }) => /* @__PURE__ */ jsxs61(MyCenterFull, { children: [
9790
- /* @__PURE__ */ jsx102(F_core64229_Form, { values: row.original }),
9791
- /* @__PURE__ */ jsx102(F_core64229_Delete, { values: row.original })
9792
+ renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx103(F_core64229_Form, {}),
9793
+ renderRowActions: ({ row }) => /* @__PURE__ */ jsxs62(MyCenterFull, { children: [
9794
+ /* @__PURE__ */ jsx103(F_core64229_Form, { values: row.original }),
9795
+ /* @__PURE__ */ jsx103(F_core64229_Delete, { values: row.original })
9792
9796
  ] })
9793
9797
  }
9794
9798
  );
9795
9799
  }
9796
9800
 
9797
9801
  // src/modules-features/admin/core/core64229/F_core64229.tsx
9798
- import { jsx as jsx103 } from "react/jsx-runtime";
9802
+ import { jsx as jsx104 } from "react/jsx-runtime";
9799
9803
  function F_core64229() {
9800
- return /* @__PURE__ */ jsx103(F_core64229_Read, {});
9804
+ return /* @__PURE__ */ jsx104(F_core64229_Read, {});
9801
9805
  }
9802
9806
 
9803
9807
  // src/modules-features/admin/core/core71678/F_core71678_Read.tsx
9804
- import { Button as Button17, Group as Group18 } from "@mantine/core";
9808
+ import { Button as Button18, Group as Group19 } from "@mantine/core";
9805
9809
  import { IconShield } from "@tabler/icons-react";
9806
9810
  import { useQuery as useQuery15 } from "@tanstack/react-query";
9807
9811
  import { useRouter as useRouter3 } from "next/navigation";
9808
9812
  import { useMemo as useMemo13, useState as useState13 } from "react";
9809
9813
 
9810
9814
  // src/modules-features/admin/core/core71678/F_core71678_ChangePermission.tsx
9811
- import { Button as Button16, Fieldset as Fieldset6, Group as Group17, Table as Table4 } from "@mantine/core";
9815
+ import { Button as Button17, Fieldset as Fieldset6, Group as Group18, Table as Table4 } from "@mantine/core";
9812
9816
  import { useDisclosure as useDisclosure12 } from "@mantine/hooks";
9813
9817
  import { useMutation as useMutation7, useQuery as useQuery14, useQueryClient as useQueryClient5 } from "@tanstack/react-query";
9814
9818
  import { useEffect as useEffect13, useMemo as useMemo12, useState as useState12 } from "react";
9815
- import { jsx as jsx104, jsxs as jsxs62 } from "react/jsx-runtime";
9819
+ import { jsx as jsx105, jsxs as jsxs63 } from "react/jsx-runtime";
9816
9820
  function F_core71678_ChangePermission({ user }) {
9817
9821
  const disc = useDisclosure12();
9818
9822
  const queryClient = useQueryClient5();
@@ -9859,32 +9863,32 @@ function F_core71678_ChangePermission({ user }) {
9859
9863
  }, {});
9860
9864
  setRowSelection(result);
9861
9865
  }, []);
9862
- return /* @__PURE__ */ jsxs62(MyButtonModal, { modalSize: "xl", disclosure: disc, title: "Ch\u1ECDn quy\u1EC1n cho ng\u01B0\u1EDDi d\xF9ng", label: "S\u1EEDa quy\u1EC1n", children: [
9863
- /* @__PURE__ */ jsx104(
9866
+ return /* @__PURE__ */ jsxs63(MyButtonModal, { modalSize: "xl", disclosure: disc, title: "Ch\u1ECDn quy\u1EC1n cho ng\u01B0\u1EDDi d\xF9ng", label: "S\u1EEDa quy\u1EC1n", children: [
9867
+ /* @__PURE__ */ jsx105(
9864
9868
  Table4,
9865
9869
  {
9866
9870
  w: "100%",
9867
9871
  variant: "vertical",
9868
9872
  layout: "fixed",
9869
- children: /* @__PURE__ */ jsxs62(Table4.Tbody, { children: [
9870
- /* @__PURE__ */ jsxs62(Table4.Tr, { children: [
9871
- /* @__PURE__ */ jsx104(Table4.Th, { w: 160, children: "H\u1ECD v\xE0 t\xEAn:" }),
9872
- /* @__PURE__ */ jsx104(Table4.Td, { children: user.fullName })
9873
+ children: /* @__PURE__ */ jsxs63(Table4.Tbody, { children: [
9874
+ /* @__PURE__ */ jsxs63(Table4.Tr, { children: [
9875
+ /* @__PURE__ */ jsx105(Table4.Th, { w: 160, children: "H\u1ECD v\xE0 t\xEAn:" }),
9876
+ /* @__PURE__ */ jsx105(Table4.Td, { children: user.fullName })
9873
9877
  ] }),
9874
- /* @__PURE__ */ jsxs62(Table4.Tr, { children: [
9875
- /* @__PURE__ */ jsx104(Table4.Th, { children: "T\xEAn \u0111\u0103ng nh\u1EADp:" }),
9876
- /* @__PURE__ */ jsx104(Table4.Td, { children: user.userName })
9878
+ /* @__PURE__ */ jsxs63(Table4.Tr, { children: [
9879
+ /* @__PURE__ */ jsx105(Table4.Th, { children: "T\xEAn \u0111\u0103ng nh\u1EADp:" }),
9880
+ /* @__PURE__ */ jsx105(Table4.Td, { children: user.userName })
9877
9881
  ] }),
9878
- /* @__PURE__ */ jsxs62(Table4.Tr, { children: [
9879
- /* @__PURE__ */ jsx104(Table4.Th, { children: "Email:" }),
9880
- /* @__PURE__ */ jsx104(Table4.Td, { children: user.email })
9882
+ /* @__PURE__ */ jsxs63(Table4.Tr, { children: [
9883
+ /* @__PURE__ */ jsx105(Table4.Th, { children: "Email:" }),
9884
+ /* @__PURE__ */ jsx105(Table4.Td, { children: user.email })
9881
9885
  ] })
9882
9886
  ] })
9883
9887
  }
9884
9888
  ),
9885
9889
  query.isLoading && "\u0110ang t\u1EA3i d\u1EEF li\u1EC7u...",
9886
9890
  query.isError && "L\u1ED7i khi t\u1EA3i d\u1EEF li\u1EC7u...",
9887
- /* @__PURE__ */ jsx104(Fieldset6, { legend: "Ch\u1ECDn quy\u1EC1n", children: /* @__PURE__ */ jsx104(
9891
+ /* @__PURE__ */ jsx105(Fieldset6, { legend: "Ch\u1ECDn quy\u1EC1n", children: /* @__PURE__ */ jsx105(
9888
9892
  MyDataTable,
9889
9893
  {
9890
9894
  enableRowSelection: true,
@@ -9908,13 +9912,13 @@ function F_core71678_ChangePermission({ user }) {
9908
9912
  data: query.data
9909
9913
  }
9910
9914
  ) }),
9911
- /* @__PURE__ */ jsx104(Group17, { justify: "flex-end", mt: 24, children: /* @__PURE__ */ jsx104(Button16, { onClick: handleSave, children: "L\u01B0u" }) })
9915
+ /* @__PURE__ */ jsx105(Group18, { justify: "flex-end", mt: 24, children: /* @__PURE__ */ jsx105(Button17, { onClick: handleSave, children: "L\u01B0u" }) })
9912
9916
  ] });
9913
9917
  }
9914
9918
 
9915
9919
  // src/modules-features/admin/core/core71678/F_core71678_Create.tsx
9916
9920
  import { useForm as useForm16 } from "@mantine/form";
9917
- import { jsx as jsx105, jsxs as jsxs63 } from "react/jsx-runtime";
9921
+ import { jsx as jsx106, jsxs as jsxs64 } from "react/jsx-runtime";
9918
9922
  var ENDPOINT2 = "/Account/create";
9919
9923
  function F_core71678_Create() {
9920
9924
  const form = useForm16({
@@ -9942,21 +9946,21 @@ function F_core71678_Create() {
9942
9946
  AQModuleId: 1002
9943
9947
  }));
9944
9948
  }
9945
- return /* @__PURE__ */ jsxs63(MyButtonCreate, { form, onSubmit: handleSubmit, objectName: "ng\u01B0\u1EDDi d\xF9ng", children: [
9946
- /* @__PURE__ */ jsx105(MyTextInput, __spreadValues({ label: "M\xE3 t\xE0i kho\u1EA3n" }, form.getInputProps("code"))),
9947
- /* @__PURE__ */ jsx105(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i kho\u1EA3n" }, form.getInputProps("userName"))),
9948
- /* @__PURE__ */ jsx105(MyTextInput, __spreadValues({ label: "M\u1EADt kh\u1EA9u" }, form.getInputProps("password"))),
9949
- /* @__PURE__ */ jsx105(MyTextInput, __spreadValues({ label: "H\u1ECD v\xE0 t\xEAn" }, form.getInputProps("fullName"))),
9950
- /* @__PURE__ */ jsx105(MyTextInput, __spreadValues({ label: "Email" }, form.getInputProps("email"))),
9951
- /* @__PURE__ */ jsx105(MyTextInput, __spreadValues({ label: "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i" }, form.getInputProps("phoneNumber")))
9949
+ return /* @__PURE__ */ jsxs64(MyButtonCreate, { form, onSubmit: handleSubmit, objectName: "ng\u01B0\u1EDDi d\xF9ng", children: [
9950
+ /* @__PURE__ */ jsx106(MyTextInput, __spreadValues({ label: "M\xE3 t\xE0i kho\u1EA3n" }, form.getInputProps("code"))),
9951
+ /* @__PURE__ */ jsx106(MyTextInput, __spreadValues({ label: "T\xEAn t\xE0i kho\u1EA3n" }, form.getInputProps("userName"))),
9952
+ /* @__PURE__ */ jsx106(MyTextInput, __spreadValues({ label: "M\u1EADt kh\u1EA9u" }, form.getInputProps("password"))),
9953
+ /* @__PURE__ */ jsx106(MyTextInput, __spreadValues({ label: "H\u1ECD v\xE0 t\xEAn" }, form.getInputProps("fullName"))),
9954
+ /* @__PURE__ */ jsx106(MyTextInput, __spreadValues({ label: "Email" }, form.getInputProps("email"))),
9955
+ /* @__PURE__ */ jsx106(MyTextInput, __spreadValues({ label: "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i" }, form.getInputProps("phoneNumber")))
9952
9956
  ] });
9953
9957
  }
9954
9958
 
9955
9959
  // src/modules-features/admin/core/core71678/F_core71678_Delete.tsx
9956
- import { jsx as jsx106 } from "react/jsx-runtime";
9960
+ import { jsx as jsx107 } from "react/jsx-runtime";
9957
9961
  var ENDPOINT3 = "/Account/delete";
9958
9962
  function F_core71678_Delete({ id, code }) {
9959
- return /* @__PURE__ */ jsx106(
9963
+ return /* @__PURE__ */ jsx107(
9960
9964
  MyActionIconDelete,
9961
9965
  {
9962
9966
  contextData: code,
@@ -9968,7 +9972,7 @@ function F_core71678_Delete({ id, code }) {
9968
9972
  // src/modules-features/admin/core/core71678/F_core71678_Update.tsx
9969
9973
  import { useForm as useForm17 } from "@mantine/form";
9970
9974
  import { useEffect as useEffect14 } from "react";
9971
- import { jsx as jsx107, jsxs as jsxs64 } from "react/jsx-runtime";
9975
+ import { jsx as jsx108, jsxs as jsxs65 } from "react/jsx-runtime";
9972
9976
  function F_core71678_Update({ user }) {
9973
9977
  const form = useForm17({
9974
9978
  initialValues: user
@@ -9976,7 +9980,7 @@ function F_core71678_Update({ user }) {
9976
9980
  useEffect14(() => {
9977
9981
  console.log(form.values);
9978
9982
  }, [form.values]);
9979
- return /* @__PURE__ */ jsx107(MyActionIconUpdate, { form, onSubmit: async (values) => {
9983
+ return /* @__PURE__ */ jsx108(MyActionIconUpdate, { form, onSubmit: async (values) => {
9980
9984
  return await baseAxios_default.post(
9981
9985
  "/Account/update",
9982
9986
  __spreadProps(__spreadValues({}, values), {
@@ -9988,17 +9992,17 @@ function F_core71678_Update({ user }) {
9988
9992
  workingUnitId: null
9989
9993
  })
9990
9994
  );
9991
- }, children: /* @__PURE__ */ jsxs64(MyFlexColumn, { children: [
9992
- /* @__PURE__ */ jsx107(MyTextInput, __spreadValues({ disabled: true, label: "M\xE3 t\xE0i kho\u1EA3n" }, form.getInputProps("code"))),
9993
- /* @__PURE__ */ jsx107(MyTextInput, __spreadValues({ disabled: true, label: "T\xEAn t\xE0i kho\u1EA3n" }, form.getInputProps("userName"))),
9994
- /* @__PURE__ */ jsx107(MyTextInput, __spreadValues({ label: "H\u1ECD v\xE0 t\xEAn" }, form.getInputProps("fullName"))),
9995
- /* @__PURE__ */ jsx107(MyTextInput, __spreadValues({ label: "Email" }, form.getInputProps("email"))),
9996
- /* @__PURE__ */ jsx107(MyTextInput, __spreadValues({ label: "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i" }, form.getInputProps("phoneNumber")))
9995
+ }, children: /* @__PURE__ */ jsxs65(MyFlexColumn, { children: [
9996
+ /* @__PURE__ */ jsx108(MyTextInput, __spreadValues({ disabled: true, label: "M\xE3 t\xE0i kho\u1EA3n" }, form.getInputProps("code"))),
9997
+ /* @__PURE__ */ jsx108(MyTextInput, __spreadValues({ disabled: true, label: "T\xEAn t\xE0i kho\u1EA3n" }, form.getInputProps("userName"))),
9998
+ /* @__PURE__ */ jsx108(MyTextInput, __spreadValues({ label: "H\u1ECD v\xE0 t\xEAn" }, form.getInputProps("fullName"))),
9999
+ /* @__PURE__ */ jsx108(MyTextInput, __spreadValues({ label: "Email" }, form.getInputProps("email"))),
10000
+ /* @__PURE__ */ jsx108(MyTextInput, __spreadValues({ label: "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i" }, form.getInputProps("phoneNumber")))
9997
10001
  ] }) });
9998
10002
  }
9999
10003
 
10000
10004
  // src/modules-features/admin/core/core71678/F_core71678_Read.tsx
10001
- import { jsx as jsx108, jsxs as jsxs65 } from "react/jsx-runtime";
10005
+ import { jsx as jsx109, jsxs as jsxs66 } from "react/jsx-runtime";
10002
10006
  var ENDPOINT4 = "/Account/GetAdminAccount";
10003
10007
  function F_core71678_Read() {
10004
10008
  const router = useRouter3();
@@ -10030,25 +10034,25 @@ function F_core71678_Read() {
10030
10034
  },
10031
10035
  {
10032
10036
  header: "Quy\u1EC1n",
10033
- accessorFn: (row) => /* @__PURE__ */ jsx108(F_core71678_ChangePermission, { user: row })
10037
+ accessorFn: (row) => /* @__PURE__ */ jsx109(F_core71678_ChangePermission, { user: row })
10034
10038
  }
10035
10039
  ],
10036
10040
  []
10037
10041
  );
10038
10042
  if (AllUserQuery.isLoading) return "Loading...";
10039
- return /* @__PURE__ */ jsx108(
10043
+ return /* @__PURE__ */ jsx109(
10040
10044
  MyDataTable,
10041
10045
  {
10042
10046
  columns,
10043
10047
  data: AllUserQuery.data,
10044
10048
  renderTopToolbarCustomActions: () => {
10045
- return /* @__PURE__ */ jsxs65(Group18, { children: [
10046
- /* @__PURE__ */ jsx108(F_core71678_Create, {}),
10047
- /* @__PURE__ */ jsx108(
10048
- Button17,
10049
+ return /* @__PURE__ */ jsxs66(Group19, { children: [
10050
+ /* @__PURE__ */ jsx109(F_core71678_Create, {}),
10051
+ /* @__PURE__ */ jsx109(
10052
+ Button18,
10049
10053
  {
10050
10054
  color: "violet",
10051
- leftSection: /* @__PURE__ */ jsx108(IconShield, {}),
10055
+ leftSection: /* @__PURE__ */ jsx109(IconShield, {}),
10052
10056
  onClick: () => {
10053
10057
  router.push("core47643");
10054
10058
  },
@@ -10058,9 +10062,9 @@ function F_core71678_Read() {
10058
10062
  ] });
10059
10063
  },
10060
10064
  renderRowActions: ({ row }) => {
10061
- return /* @__PURE__ */ jsxs65(MyCenterFull, { children: [
10062
- /* @__PURE__ */ jsx108(F_core71678_Update, { user: row.original }),
10063
- /* @__PURE__ */ jsx108(F_core71678_Delete, { id: row.original.id, code: row.original.code })
10065
+ return /* @__PURE__ */ jsxs66(MyCenterFull, { children: [
10066
+ /* @__PURE__ */ jsx109(F_core71678_Update, { user: row.original }),
10067
+ /* @__PURE__ */ jsx109(F_core71678_Delete, { id: row.original.id, code: row.original.code })
10064
10068
  ] });
10065
10069
  }
10066
10070
  }
@@ -10068,9 +10072,9 @@ function F_core71678_Read() {
10068
10072
  }
10069
10073
 
10070
10074
  // src/modules-features/admin/core/core71678/F_core71678.tsx
10071
- import { jsx as jsx109 } from "react/jsx-runtime";
10075
+ import { jsx as jsx110 } from "react/jsx-runtime";
10072
10076
  function F_core71678() {
10073
- return /* @__PURE__ */ jsx109(F_core71678_Read, {});
10077
+ return /* @__PURE__ */ jsx110(F_core71678_Read, {});
10074
10078
  }
10075
10079
 
10076
10080
  // src/modules-features/admin/core/core76318/F_core76318_Read.tsx
@@ -10080,7 +10084,7 @@ import { useMemo as useMemo14 } from "react";
10080
10084
  // src/modules-features/admin/core/core76318/F_core76318_Create.tsx
10081
10085
  import { FileInput as FileInput8 } from "@mantine/core";
10082
10086
  import { useForm as useForm18 } from "@mantine/form";
10083
- import { jsx as jsx110, jsxs as jsxs66 } from "react/jsx-runtime";
10087
+ import { jsx as jsx111, jsxs as jsxs67 } from "react/jsx-runtime";
10084
10088
  function F_core76318_Create({ SecurityTypeId }) {
10085
10089
  const form = useForm18({
10086
10090
  mode: "uncontrolled",
@@ -10091,7 +10095,7 @@ function F_core76318_Create({ SecurityTypeId }) {
10091
10095
  file: (value) => value ? null : "Kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng"
10092
10096
  }
10093
10097
  });
10094
- return /* @__PURE__ */ jsxs66(
10098
+ return /* @__PURE__ */ jsxs67(
10095
10099
  MyButtonCreate,
10096
10100
  {
10097
10101
  objectName: "v\u0103n b\u1EA3n",
@@ -10104,28 +10108,28 @@ function F_core76318_Create({ SecurityTypeId }) {
10104
10108
  }));
10105
10109
  },
10106
10110
  children: [
10107
- /* @__PURE__ */ jsx110(
10111
+ /* @__PURE__ */ jsx111(
10108
10112
  MyTextInput,
10109
10113
  __spreadValues({
10110
10114
  withAsterisk: true,
10111
10115
  label: "S\u1ED1 quy \u0111\u1ECBnh"
10112
10116
  }, form.getInputProps("decisionCode"))
10113
10117
  ),
10114
- /* @__PURE__ */ jsx110(
10118
+ /* @__PURE__ */ jsx111(
10115
10119
  MyDateInput,
10116
10120
  __spreadValues({
10117
10121
  withAsterisk: true,
10118
10122
  label: "Ng\xE0y ban h\xE0nh"
10119
10123
  }, form.getInputProps("promulgateDate"))
10120
10124
  ),
10121
- /* @__PURE__ */ jsx110(
10125
+ /* @__PURE__ */ jsx111(
10122
10126
  MyTextInput,
10123
10127
  __spreadValues({
10124
10128
  withAsterisk: true,
10125
10129
  label: "T\xEAn t\xE0i li\u1EC7u"
10126
10130
  }, form.getInputProps("name"))
10127
10131
  ),
10128
- /* @__PURE__ */ jsx110(
10132
+ /* @__PURE__ */ jsx111(
10129
10133
  FileInput8,
10130
10134
  __spreadValues({
10131
10135
  withAsterisk: true,
@@ -10139,12 +10143,12 @@ function F_core76318_Create({ SecurityTypeId }) {
10139
10143
  }
10140
10144
 
10141
10145
  // src/modules-features/admin/core/core76318/F_core76318_Delete.tsx
10142
- import { jsx as jsx111 } from "react/jsx-runtime";
10146
+ import { jsx as jsx112 } from "react/jsx-runtime";
10143
10147
  function F_core76318_Delete({
10144
10148
  id,
10145
10149
  contextData
10146
10150
  }) {
10147
- return /* @__PURE__ */ jsx111(
10151
+ return /* @__PURE__ */ jsx112(
10148
10152
  MyActionIconDelete,
10149
10153
  {
10150
10154
  contextData,
@@ -10156,7 +10160,7 @@ function F_core76318_Delete({
10156
10160
  // src/modules-features/admin/core/core76318/F_core76318_Update.tsx
10157
10161
  import { FileInput as FileInput9, TextInput as TextInput5 } from "@mantine/core";
10158
10162
  import { useForm as useForm19 } from "@mantine/form";
10159
- import { jsx as jsx112, jsxs as jsxs67 } from "react/jsx-runtime";
10163
+ import { jsx as jsx113, jsxs as jsxs68 } from "react/jsx-runtime";
10160
10164
  function F_core76318_Update({ values }) {
10161
10165
  var _a;
10162
10166
  const form = useForm19({
@@ -10175,7 +10179,7 @@ function F_core76318_Update({ values }) {
10175
10179
  file: (value) => value ? null : "Kh\xF4ng \u0111\u01B0\u1EE3c \u0111\u1EC3 tr\u1ED1ng"
10176
10180
  }
10177
10181
  });
10178
- return /* @__PURE__ */ jsxs67(
10182
+ return /* @__PURE__ */ jsxs68(
10179
10183
  MyActionIconUpdate,
10180
10184
  {
10181
10185
  form,
@@ -10185,28 +10189,28 @@ function F_core76318_Update({ values }) {
10185
10189
  }));
10186
10190
  },
10187
10191
  children: [
10188
- /* @__PURE__ */ jsx112(
10192
+ /* @__PURE__ */ jsx113(
10189
10193
  TextInput5,
10190
10194
  __spreadValues({
10191
10195
  withAsterisk: true,
10192
10196
  label: "S\u1ED1 quy \u0111\u1ECBnh"
10193
10197
  }, form.getInputProps("decisionCode"))
10194
10198
  ),
10195
- /* @__PURE__ */ jsx112(
10199
+ /* @__PURE__ */ jsx113(
10196
10200
  MyDateInput,
10197
10201
  __spreadValues({
10198
10202
  withAsterisk: true,
10199
10203
  label: "Ng\xE0y ban h\xE0nh"
10200
10204
  }, form.getInputProps("promulgateDate"))
10201
10205
  ),
10202
- /* @__PURE__ */ jsx112(
10206
+ /* @__PURE__ */ jsx113(
10203
10207
  TextInput5,
10204
10208
  __spreadValues({
10205
10209
  withAsterisk: true,
10206
10210
  label: "T\xEAn t\xE0i li\u1EC7u"
10207
10211
  }, form.getInputProps("name"))
10208
10212
  ),
10209
- /* @__PURE__ */ jsx112(
10213
+ /* @__PURE__ */ jsx113(
10210
10214
  FileInput9,
10211
10215
  __spreadValues({
10212
10216
  withAsterisk: true,
@@ -10219,7 +10223,7 @@ function F_core76318_Update({ values }) {
10219
10223
  }
10220
10224
 
10221
10225
  // src/modules-features/admin/core/core76318/F_core76318_Read.tsx
10222
- import { jsx as jsx113, jsxs as jsxs68 } from "react/jsx-runtime";
10226
+ import { jsx as jsx114, jsxs as jsxs69 } from "react/jsx-runtime";
10223
10227
  function F_core76318_Read({ SecurityTypeId }) {
10224
10228
  const query = useQuery16({
10225
10229
  queryKey: ["F_core76318_Read"],
@@ -10248,7 +10252,7 @@ function F_core76318_Read({ SecurityTypeId }) {
10248
10252
  {
10249
10253
  header: "File",
10250
10254
  accessorFn: (row) => {
10251
- return /* @__PURE__ */ jsx113(MyCenterFull, { children: /* @__PURE__ */ jsx113(MyButtonViewPDF, { id: row.id }) });
10255
+ return /* @__PURE__ */ jsx114(MyCenterFull, { children: /* @__PURE__ */ jsx114(MyButtonViewPDF, { id: row.id }) });
10252
10256
  }
10253
10257
  }
10254
10258
  ],
@@ -10256,17 +10260,17 @@ function F_core76318_Read({ SecurityTypeId }) {
10256
10260
  );
10257
10261
  if (query.isLoading) return "Loading...";
10258
10262
  if (query.isError) return "c\xF3 l\u1ED7i x\u1EA3y ra!";
10259
- return /* @__PURE__ */ jsx113(
10263
+ return /* @__PURE__ */ jsx114(
10260
10264
  MyDataTable,
10261
10265
  {
10262
10266
  columns,
10263
10267
  data: query.data,
10264
- renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx113(F_core76318_Create, { SecurityTypeId }),
10268
+ renderTopToolbarCustomActions: () => /* @__PURE__ */ jsx114(F_core76318_Create, { SecurityTypeId }),
10265
10269
  renderRowActions: ({ row }) => {
10266
10270
  var _a;
10267
- return /* @__PURE__ */ jsxs68(MyCenterFull, { children: [
10268
- /* @__PURE__ */ jsx113(F_core76318_Update, { values: row.original }),
10269
- /* @__PURE__ */ jsx113(
10271
+ return /* @__PURE__ */ jsxs69(MyCenterFull, { children: [
10272
+ /* @__PURE__ */ jsx114(F_core76318_Update, { values: row.original }),
10273
+ /* @__PURE__ */ jsx114(
10270
10274
  F_core76318_Delete,
10271
10275
  {
10272
10276
  id: row.original.id,
@@ -10280,19 +10284,19 @@ function F_core76318_Read({ SecurityTypeId }) {
10280
10284
  }
10281
10285
 
10282
10286
  // src/modules-features/admin/core/core76318/F_core76318.tsx
10283
- import { jsx as jsx114 } from "react/jsx-runtime";
10287
+ import { jsx as jsx115 } from "react/jsx-runtime";
10284
10288
  function F_core76318({ SecurityTypeId }) {
10285
- return /* @__PURE__ */ jsx114(F_core76318_Read, { SecurityTypeId });
10289
+ return /* @__PURE__ */ jsx115(F_core76318_Read, { SecurityTypeId });
10286
10290
  }
10287
10291
 
10288
10292
  // src/modules-features/admin/core/core83092/F_core83092.tsx
10289
- import { Grid as Grid4, Paper as Paper12, ScrollArea as ScrollArea8 } from "@mantine/core";
10293
+ import { Grid as Grid4, Paper as Paper13, ScrollArea as ScrollArea8 } from "@mantine/core";
10290
10294
 
10291
10295
  // src/modules-features/admin/core/core83092/F_core83092_ReadUser.tsx
10292
10296
  import { Container as Container5 } from "@mantine/core";
10293
10297
  import { useQuery as useQuery17 } from "@tanstack/react-query";
10294
10298
  import { useEffect as useEffect15, useMemo as useMemo15, useState as useState14 } from "react";
10295
- import { jsx as jsx115 } from "react/jsx-runtime";
10299
+ import { jsx as jsx116 } from "react/jsx-runtime";
10296
10300
  function F_core83092_ReadUser() {
10297
10301
  const store = useS_core83092();
10298
10302
  const query = useQ_core83092_Account_GetAdminAccount();
@@ -10325,7 +10329,7 @@ function F_core83092_ReadUser() {
10325
10329
  }, [query.data]);
10326
10330
  if (query.isLoading) return "Loading...";
10327
10331
  if (query.isError) return "C\xF3 l\u1ED7i x\u1EA3y ra!";
10328
- return /* @__PURE__ */ jsx115(Container5, { fluid: true, w: "100%", children: /* @__PURE__ */ jsx115(
10332
+ return /* @__PURE__ */ jsx116(Container5, { fluid: true, w: "100%", children: /* @__PURE__ */ jsx116(
10329
10333
  MyDataTable,
10330
10334
  {
10331
10335
  columns,
@@ -10361,7 +10365,7 @@ function useQ_core83092_Account_GetAdminAccount() {
10361
10365
  // src/modules-features/admin/core/core83092/F_core83092_Save.tsx
10362
10366
  import { useMutation as useMutation8 } from "@tanstack/react-query";
10363
10367
  import { useEffect as useEffect16, useState as useState15 } from "react";
10364
- import { jsx as jsx116 } from "react/jsx-runtime";
10368
+ import { jsx as jsx117 } from "react/jsx-runtime";
10365
10369
  function F_core83092_Save() {
10366
10370
  const store = useS_core83092();
10367
10371
  const disable = useState15(false);
@@ -10390,15 +10394,15 @@ function F_core83092_Save() {
10390
10394
  }
10391
10395
  disable[1](false);
10392
10396
  }, [store.state.rolePermissions]);
10393
- return /* @__PURE__ */ jsx116(MyButton, { disabled: disable[0], crudType: "save", onClick: handleSave });
10397
+ return /* @__PURE__ */ jsx117(MyButton, { disabled: disable[0], crudType: "save", onClick: handleSave });
10394
10398
  }
10395
10399
 
10396
10400
  // src/modules-features/admin/core/core83092/F_core83092_ViewMenuPermissions.tsx
10397
- import { Checkbox as Checkbox4, Flex as Flex6, ScrollArea as ScrollArea7, Table as Table5, Text as Text15 } from "@mantine/core";
10401
+ import { Checkbox as Checkbox4, Flex as Flex7, ScrollArea as ScrollArea7, Table as Table5, Text as Text16 } from "@mantine/core";
10398
10402
  import { IconEdit as IconEdit6, IconEyeUp as IconEyeUp2, IconFileExport as IconFileExport3, IconPlus as IconPlus6, IconPrinter as IconPrinter4, IconTrash as IconTrash6 } from "@tabler/icons-react";
10399
10403
  import { useQuery as useQuery18 } from "@tanstack/react-query";
10400
10404
  import React4, { useEffect as useEffect17, useState as useState16 } from "react";
10401
- import { jsx as jsx117, jsxs as jsxs69 } from "react/jsx-runtime";
10405
+ import { jsx as jsx118, jsxs as jsxs70 } from "react/jsx-runtime";
10402
10406
  var title2 = "Danh s\xE1ch ch\u1EE9c n\u0103ng";
10403
10407
  function F_core83092_ViewMenuPermissions({ menuData: menuData2 }) {
10404
10408
  var _a, _b;
@@ -10413,8 +10417,8 @@ function F_core83092_ViewMenuPermissions({ menuData: menuData2 }) {
10413
10417
  store.setProperty("rolePermissions", query.data);
10414
10418
  }, [query.data]);
10415
10419
  if (((_a = list[0]) == null ? void 0 : _a.length) == 0) return "\u0110ang t\u1EA3i...";
10416
- return /* @__PURE__ */ jsx117(ScrollArea7.Autosize, { h: "70vh", children: /* @__PURE__ */ jsxs69(Table5, { children: [
10417
- /* @__PURE__ */ jsx117(
10420
+ return /* @__PURE__ */ jsx118(ScrollArea7.Autosize, { h: "70vh", children: /* @__PURE__ */ jsxs70(Table5, { children: [
10421
+ /* @__PURE__ */ jsx118(
10418
10422
  Table5.Thead,
10419
10423
  {
10420
10424
  bg: "light-dark(var(--mantine-color-white), var(--mantine-color-dark-8))",
@@ -10425,90 +10429,90 @@ function F_core83092_ViewMenuPermissions({ menuData: menuData2 }) {
10425
10429
  boxShadow: "0px 4px 6px rgba(0, 0, 0, 0.1)",
10426
10430
  border: "1px solid var(--mantine-color-gray-4)"
10427
10431
  },
10428
- children: /* @__PURE__ */ jsxs69(Table5.Tr, { children: [
10429
- /* @__PURE__ */ jsx117(Table5.Th, { children: title2 }),
10430
- /* @__PURE__ */ jsx117(Table5.Th, { children: /* @__PURE__ */ jsxs69(Flex6, { gap: 3, direction: "column", justify: "center", align: "center", children: [
10431
- /* @__PURE__ */ jsx117(Checkbox4, { checked: store.isAllPermission("isRead"), onChange: (e4) => {
10432
+ children: /* @__PURE__ */ jsxs70(Table5.Tr, { children: [
10433
+ /* @__PURE__ */ jsx118(Table5.Th, { children: title2 }),
10434
+ /* @__PURE__ */ jsx118(Table5.Th, { children: /* @__PURE__ */ jsxs70(Flex7, { gap: 3, direction: "column", justify: "center", align: "center", children: [
10435
+ /* @__PURE__ */ jsx118(Checkbox4, { checked: store.isAllPermission("isRead"), onChange: (e4) => {
10432
10436
  store.toogleAllPermissionWithType("isRead", e4.target.checked);
10433
10437
  } }),
10434
- /* @__PURE__ */ jsxs69(MyFlexRow, { gap: 3, children: [
10438
+ /* @__PURE__ */ jsxs70(MyFlexRow, { gap: 3, children: [
10435
10439
  "Xem",
10436
- /* @__PURE__ */ jsx117(IconEyeUp2, { color: "gray" })
10440
+ /* @__PURE__ */ jsx118(IconEyeUp2, { color: "gray" })
10437
10441
  ] })
10438
10442
  ] }) }),
10439
- /* @__PURE__ */ jsx117(Table5.Th, { children: /* @__PURE__ */ jsxs69(Flex6, { gap: 3, direction: "column", justify: "center", align: "center", children: [
10440
- /* @__PURE__ */ jsx117(Checkbox4, { checked: store.isAllPermission("isCreate"), onChange: (e4) => {
10443
+ /* @__PURE__ */ jsx118(Table5.Th, { children: /* @__PURE__ */ jsxs70(Flex7, { gap: 3, direction: "column", justify: "center", align: "center", children: [
10444
+ /* @__PURE__ */ jsx118(Checkbox4, { checked: store.isAllPermission("isCreate"), onChange: (e4) => {
10441
10445
  store.toogleAllPermissionWithType("isCreate", e4.target.checked);
10442
10446
  } }),
10443
- /* @__PURE__ */ jsxs69(MyFlexRow, { gap: 3, children: [
10447
+ /* @__PURE__ */ jsxs70(MyFlexRow, { gap: 3, children: [
10444
10448
  "Th\xEAm",
10445
- /* @__PURE__ */ jsx117(IconPlus6, { color: "blue" })
10449
+ /* @__PURE__ */ jsx118(IconPlus6, { color: "blue" })
10446
10450
  ] })
10447
10451
  ] }) }),
10448
- /* @__PURE__ */ jsx117(Table5.Th, { children: /* @__PURE__ */ jsxs69(Flex6, { gap: 3, direction: "column", justify: "center", align: "center", children: [
10449
- /* @__PURE__ */ jsx117(Checkbox4, { checked: store.isAllPermission("isUpdate"), onChange: (e4) => {
10452
+ /* @__PURE__ */ jsx118(Table5.Th, { children: /* @__PURE__ */ jsxs70(Flex7, { gap: 3, direction: "column", justify: "center", align: "center", children: [
10453
+ /* @__PURE__ */ jsx118(Checkbox4, { checked: store.isAllPermission("isUpdate"), onChange: (e4) => {
10450
10454
  store.toogleAllPermissionWithType("isUpdate", e4.target.checked);
10451
10455
  } }),
10452
- /* @__PURE__ */ jsxs69(MyFlexRow, { gap: 3, children: [
10456
+ /* @__PURE__ */ jsxs70(MyFlexRow, { gap: 3, children: [
10453
10457
  "S\u1EEDa",
10454
- /* @__PURE__ */ jsx117(IconEdit6, { color: "var(--mantine-color-yellow-8)" })
10458
+ /* @__PURE__ */ jsx118(IconEdit6, { color: "var(--mantine-color-yellow-8)" })
10455
10459
  ] })
10456
10460
  ] }) }),
10457
- /* @__PURE__ */ jsx117(Table5.Th, { children: /* @__PURE__ */ jsxs69(Flex6, { gap: 3, direction: "column", justify: "center", align: "center", children: [
10458
- /* @__PURE__ */ jsx117(Checkbox4, { checked: store.isAllPermission("isDelete"), onChange: (e4) => {
10461
+ /* @__PURE__ */ jsx118(Table5.Th, { children: /* @__PURE__ */ jsxs70(Flex7, { gap: 3, direction: "column", justify: "center", align: "center", children: [
10462
+ /* @__PURE__ */ jsx118(Checkbox4, { checked: store.isAllPermission("isDelete"), onChange: (e4) => {
10459
10463
  store.toogleAllPermissionWithType("isDelete", e4.target.checked);
10460
10464
  } }),
10461
- /* @__PURE__ */ jsxs69(MyFlexRow, { gap: 3, children: [
10465
+ /* @__PURE__ */ jsxs70(MyFlexRow, { gap: 3, children: [
10462
10466
  "X\xF3a",
10463
- /* @__PURE__ */ jsx117(IconTrash6, { color: "var(--mantine-color-red-8)" })
10467
+ /* @__PURE__ */ jsx118(IconTrash6, { color: "var(--mantine-color-red-8)" })
10464
10468
  ] })
10465
10469
  ] }) }),
10466
- /* @__PURE__ */ jsx117(Table5.Th, { children: /* @__PURE__ */ jsxs69(Flex6, { gap: 3, direction: "column", justify: "center", align: "center", children: [
10467
- /* @__PURE__ */ jsx117(Checkbox4, { checked: store.isAllPermission("isPrint"), onChange: (e4) => {
10470
+ /* @__PURE__ */ jsx118(Table5.Th, { children: /* @__PURE__ */ jsxs70(Flex7, { gap: 3, direction: "column", justify: "center", align: "center", children: [
10471
+ /* @__PURE__ */ jsx118(Checkbox4, { checked: store.isAllPermission("isPrint"), onChange: (e4) => {
10468
10472
  store.toogleAllPermissionWithType("isPrint", e4.target.checked);
10469
10473
  } }),
10470
- /* @__PURE__ */ jsxs69(MyFlexRow, { gap: 3, children: [
10474
+ /* @__PURE__ */ jsxs70(MyFlexRow, { gap: 3, children: [
10471
10475
  "In",
10472
- /* @__PURE__ */ jsx117(IconPrinter4, { color: "var(--mantine-color-cyan-8)" })
10476
+ /* @__PURE__ */ jsx118(IconPrinter4, { color: "var(--mantine-color-cyan-8)" })
10473
10477
  ] })
10474
10478
  ] }) }),
10475
- /* @__PURE__ */ jsx117(Table5.Th, { children: /* @__PURE__ */ jsxs69(Flex6, { gap: 3, direction: "column", justify: "center", align: "center", children: [
10476
- /* @__PURE__ */ jsx117(Checkbox4, { checked: store.isAllPermission("isExport"), onChange: (e4) => {
10479
+ /* @__PURE__ */ jsx118(Table5.Th, { children: /* @__PURE__ */ jsxs70(Flex7, { gap: 3, direction: "column", justify: "center", align: "center", children: [
10480
+ /* @__PURE__ */ jsx118(Checkbox4, { checked: store.isAllPermission("isExport"), onChange: (e4) => {
10477
10481
  store.toogleAllPermissionWithType("isExport", e4.target.checked);
10478
10482
  } }),
10479
- /* @__PURE__ */ jsxs69(MyFlexRow, { gap: 3, children: [
10483
+ /* @__PURE__ */ jsxs70(MyFlexRow, { gap: 3, children: [
10480
10484
  "Xu\u1EA5t",
10481
- /* @__PURE__ */ jsx117(IconFileExport3, { color: "var(--mantine-color-green-8)" })
10485
+ /* @__PURE__ */ jsx118(IconFileExport3, { color: "var(--mantine-color-green-8)" })
10482
10486
  ] })
10483
10487
  ] }) })
10484
10488
  ] })
10485
10489
  }
10486
10490
  ),
10487
- /* @__PURE__ */ jsx117(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) => {
10488
- if (item.links == void 0) return /* @__PURE__ */ jsxs69(Table5.Tr, { children: [
10489
- /* @__PURE__ */ jsx117(Table5.Td, { children: item.label }),
10490
- /* @__PURE__ */ jsx117(Table5.Td, { children: /* @__PURE__ */ jsx117(MyCenterFull, { children: /* @__PURE__ */ jsx117(Checkbox4, {}) }) }),
10491
- /* @__PURE__ */ jsx117(Table5.Td, { children: /* @__PURE__ */ jsx117(MyCenterFull, { children: /* @__PURE__ */ jsx117(Checkbox4, {}) }) }),
10492
- /* @__PURE__ */ jsx117(Table5.Td, { children: /* @__PURE__ */ jsx117(MyCenterFull, { children: /* @__PURE__ */ jsx117(Checkbox4, {}) }) }),
10493
- /* @__PURE__ */ jsx117(Table5.Td, { children: /* @__PURE__ */ jsx117(MyCenterFull, { children: /* @__PURE__ */ jsx117(Checkbox4, {}) }) }),
10494
- /* @__PURE__ */ jsx117(Table5.Td, { children: /* @__PURE__ */ jsx117(MyCenterFull, { children: /* @__PURE__ */ jsx117(Checkbox4, {}) }) }),
10495
- /* @__PURE__ */ jsx117(Table5.Td, { children: /* @__PURE__ */ jsx117(MyCenterFull, { children: /* @__PURE__ */ jsx117(Checkbox4, {}) }) })
10491
+ /* @__PURE__ */ jsx118(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) => {
10492
+ if (item.links == void 0) return /* @__PURE__ */ jsxs70(Table5.Tr, { children: [
10493
+ /* @__PURE__ */ jsx118(Table5.Td, { children: item.label }),
10494
+ /* @__PURE__ */ jsx118(Table5.Td, { children: /* @__PURE__ */ jsx118(MyCenterFull, { children: /* @__PURE__ */ jsx118(Checkbox4, {}) }) }),
10495
+ /* @__PURE__ */ jsx118(Table5.Td, { children: /* @__PURE__ */ jsx118(MyCenterFull, { children: /* @__PURE__ */ jsx118(Checkbox4, {}) }) }),
10496
+ /* @__PURE__ */ jsx118(Table5.Td, { children: /* @__PURE__ */ jsx118(MyCenterFull, { children: /* @__PURE__ */ jsx118(Checkbox4, {}) }) }),
10497
+ /* @__PURE__ */ jsx118(Table5.Td, { children: /* @__PURE__ */ jsx118(MyCenterFull, { children: /* @__PURE__ */ jsx118(Checkbox4, {}) }) }),
10498
+ /* @__PURE__ */ jsx118(Table5.Td, { children: /* @__PURE__ */ jsx118(MyCenterFull, { children: /* @__PURE__ */ jsx118(Checkbox4, {}) }) }),
10499
+ /* @__PURE__ */ jsx118(Table5.Td, { children: /* @__PURE__ */ jsx118(MyCenterFull, { children: /* @__PURE__ */ jsx118(Checkbox4, {}) }) })
10496
10500
  ] }, idx);
10497
- return /* @__PURE__ */ jsxs69(React4.Fragment, { children: [
10498
- /* @__PURE__ */ jsx117(Table5.Tr, { children: /* @__PURE__ */ jsx117(
10501
+ return /* @__PURE__ */ jsxs70(React4.Fragment, { children: [
10502
+ /* @__PURE__ */ jsx118(Table5.Tr, { children: /* @__PURE__ */ jsx118(
10499
10503
  Table5.Td,
10500
10504
  {
10501
10505
  colSpan: 7,
10502
10506
  bg: OBJECT_COlORS.mantineBackgroundBlueLight,
10503
- children: /* @__PURE__ */ jsx117(Text15, { fs: "oblique", size: "sm", fw: "bold", children: item.label })
10507
+ children: /* @__PURE__ */ jsx118(Text16, { fs: "oblique", size: "sm", fw: "bold", children: item.label })
10504
10508
  }
10505
10509
  ) }, item.label),
10506
10510
  item.links.map(
10507
10511
  (item2, idx2) => {
10508
10512
  var _a2, _b2, _c, _d, _e, _f;
10509
- return /* @__PURE__ */ jsxs69(Table5.Tr, { children: [
10510
- /* @__PURE__ */ jsx117(Table5.Td, { children: item2.label }),
10511
- /* @__PURE__ */ jsx117(Table5.Td, { children: /* @__PURE__ */ jsx117(MyCenterFull, { children: /* @__PURE__ */ jsx117(
10513
+ return /* @__PURE__ */ jsxs70(Table5.Tr, { children: [
10514
+ /* @__PURE__ */ jsx118(Table5.Td, { children: item2.label }),
10515
+ /* @__PURE__ */ jsx118(Table5.Td, { children: /* @__PURE__ */ jsx118(MyCenterFull, { children: /* @__PURE__ */ jsx118(
10512
10516
  Checkbox4,
10513
10517
  {
10514
10518
  checked: ((_a2 = store.findByPageId(item2.pageId)) == null ? void 0 : _a2.isRead) || false,
@@ -10519,7 +10523,7 @@ function F_core83092_ViewMenuPermissions({ menuData: menuData2 }) {
10519
10523
  }
10520
10524
  }
10521
10525
  ) }) }),
10522
- /* @__PURE__ */ jsx117(Table5.Td, { children: /* @__PURE__ */ jsx117(MyCenterFull, { children: /* @__PURE__ */ jsx117(
10526
+ /* @__PURE__ */ jsx118(Table5.Td, { children: /* @__PURE__ */ jsx118(MyCenterFull, { children: /* @__PURE__ */ jsx118(
10523
10527
  Checkbox4,
10524
10528
  {
10525
10529
  checked: ((_b2 = store.findByPageId(item2.pageId)) == null ? void 0 : _b2.isCreate) || false,
@@ -10530,7 +10534,7 @@ function F_core83092_ViewMenuPermissions({ menuData: menuData2 }) {
10530
10534
  }
10531
10535
  }
10532
10536
  ) }) }),
10533
- /* @__PURE__ */ jsx117(Table5.Td, { children: /* @__PURE__ */ jsx117(MyCenterFull, { children: /* @__PURE__ */ jsx117(
10537
+ /* @__PURE__ */ jsx118(Table5.Td, { children: /* @__PURE__ */ jsx118(MyCenterFull, { children: /* @__PURE__ */ jsx118(
10534
10538
  Checkbox4,
10535
10539
  {
10536
10540
  checked: ((_c = store.findByPageId(item2.pageId)) == null ? void 0 : _c.isUpdate) || false,
@@ -10541,7 +10545,7 @@ function F_core83092_ViewMenuPermissions({ menuData: menuData2 }) {
10541
10545
  }
10542
10546
  }
10543
10547
  ) }) }),
10544
- /* @__PURE__ */ jsx117(Table5.Td, { children: /* @__PURE__ */ jsx117(MyCenterFull, { children: /* @__PURE__ */ jsx117(
10548
+ /* @__PURE__ */ jsx118(Table5.Td, { children: /* @__PURE__ */ jsx118(MyCenterFull, { children: /* @__PURE__ */ jsx118(
10545
10549
  Checkbox4,
10546
10550
  {
10547
10551
  checked: ((_d = store.findByPageId(item2.pageId)) == null ? void 0 : _d.isDelete) || false,
@@ -10552,7 +10556,7 @@ function F_core83092_ViewMenuPermissions({ menuData: menuData2 }) {
10552
10556
  }
10553
10557
  }
10554
10558
  ) }) }),
10555
- /* @__PURE__ */ jsx117(Table5.Td, { children: /* @__PURE__ */ jsx117(MyCenterFull, { children: /* @__PURE__ */ jsx117(
10559
+ /* @__PURE__ */ jsx118(Table5.Td, { children: /* @__PURE__ */ jsx118(MyCenterFull, { children: /* @__PURE__ */ jsx118(
10556
10560
  Checkbox4,
10557
10561
  {
10558
10562
  checked: ((_e = store.findByPageId(item2.pageId)) == null ? void 0 : _e.isPrint) || false,
@@ -10563,7 +10567,7 @@ function F_core83092_ViewMenuPermissions({ menuData: menuData2 }) {
10563
10567
  }
10564
10568
  }
10565
10569
  ) }) }),
10566
- /* @__PURE__ */ jsx117(Table5.Td, { children: /* @__PURE__ */ jsx117(MyCenterFull, { children: /* @__PURE__ */ jsx117(
10570
+ /* @__PURE__ */ jsx118(Table5.Td, { children: /* @__PURE__ */ jsx118(MyCenterFull, { children: /* @__PURE__ */ jsx118(
10567
10571
  Checkbox4,
10568
10572
  {
10569
10573
  checked: ((_f = store.findByPageId(item2.pageId)) == null ? void 0 : _f.isExport) || false,
@@ -10619,72 +10623,72 @@ function useGetUserPermission2({ menuData: menuData2 }) {
10619
10623
  }
10620
10624
 
10621
10625
  // src/modules-features/admin/core/core83092/F_core83092.tsx
10622
- import { jsx as jsx118, jsxs as jsxs70 } from "react/jsx-runtime";
10626
+ import { jsx as jsx119, jsxs as jsxs71 } from "react/jsx-runtime";
10623
10627
  function F_core83092({ menuData: menuData2 }) {
10624
- return /* @__PURE__ */ jsxs70(Grid4, { grow: true, children: [
10625
- /* @__PURE__ */ jsx118(Grid4.Col, { span: 4, children: /* @__PURE__ */ jsx118(F_core83092_ReadUser, {}) }),
10626
- /* @__PURE__ */ jsx118(Grid4.Col, { span: 8, children: /* @__PURE__ */ jsxs70(MyFlexColumn, { h: "80vh", flex: 1, children: [
10627
- /* @__PURE__ */ jsx118(ScrollArea8.Autosize, { h: "100%", children: /* @__PURE__ */ jsx118(Paper12, { p: "md", bg: OBJECT_COlORS.mantineBackgroundSecondary, children: /* @__PURE__ */ jsx118(F_core83092_ViewMenuPermissions, { menuData: menuData2 }) }) }),
10628
- /* @__PURE__ */ jsx118(F_core83092_Save, {})
10628
+ return /* @__PURE__ */ jsxs71(Grid4, { grow: true, children: [
10629
+ /* @__PURE__ */ jsx119(Grid4.Col, { span: 4, children: /* @__PURE__ */ jsx119(F_core83092_ReadUser, {}) }),
10630
+ /* @__PURE__ */ jsx119(Grid4.Col, { span: 8, children: /* @__PURE__ */ jsxs71(MyFlexColumn, { h: "80vh", flex: 1, children: [
10631
+ /* @__PURE__ */ jsx119(ScrollArea8.Autosize, { h: "100%", children: /* @__PURE__ */ jsx119(Paper13, { p: "md", bg: OBJECT_COlORS.mantineBackgroundSecondary, children: /* @__PURE__ */ jsx119(F_core83092_ViewMenuPermissions, { menuData: menuData2 }) }) }),
10632
+ /* @__PURE__ */ jsx119(F_core83092_Save, {})
10629
10633
  ] }) })
10630
10634
  ] });
10631
10635
  }
10632
10636
 
10633
10637
  // src/modules-features/admin/core/MainDashboard/BarChart_CourseStatus.tsx
10634
10638
  import { BarChart } from "@mantine/charts";
10635
- import { Group as Group19, Paper as Paper13, Text as Text16, useMantineColorScheme as useMantineColorScheme2 } from "@mantine/core";
10636
- import { Fragment as Fragment13, jsx as jsx119, jsxs as jsxs71 } from "react/jsx-runtime";
10639
+ import { Group as Group20, Paper as Paper14, Text as Text17, useMantineColorScheme as useMantineColorScheme2 } from "@mantine/core";
10640
+ import { Fragment as Fragment13, jsx as jsx120, jsxs as jsxs72 } from "react/jsx-runtime";
10637
10641
 
10638
10642
  // src/modules-features/admin/core/MainDashboard/BarChart_ExamStatus.tsx
10639
10643
  import { BarChart as BarChart2 } from "@mantine/charts";
10640
- import { Group as Group20, Paper as Paper14, Text as Text17, useMantineColorScheme as useMantineColorScheme3 } from "@mantine/core";
10641
- import { Fragment as Fragment14, jsx as jsx120, jsxs as jsxs72 } from "react/jsx-runtime";
10644
+ import { Group as Group21, Paper as Paper15, Text as Text18, useMantineColorScheme as useMantineColorScheme3 } from "@mantine/core";
10645
+ import { Fragment as Fragment14, jsx as jsx121, jsxs as jsxs73 } from "react/jsx-runtime";
10642
10646
 
10643
10647
  // src/modules-features/admin/core/MainDashboard/BarChart_RevenueByAcademicYear.tsx
10644
10648
  import { BarChart as BarChart3 } from "@mantine/charts";
10645
- import { Group as Group21, Paper as Paper15, Text as Text18, useMantineColorScheme as useMantineColorScheme4 } from "@mantine/core";
10646
- import { Fragment as Fragment15, jsx as jsx121, jsxs as jsxs73 } from "react/jsx-runtime";
10649
+ import { Group as Group22, Paper as Paper16, Text as Text19, useMantineColorScheme as useMantineColorScheme4 } from "@mantine/core";
10650
+ import { Fragment as Fragment15, jsx as jsx122, jsxs as jsxs74 } from "react/jsx-runtime";
10647
10651
 
10648
10652
  // src/modules-features/admin/core/MainDashboard/BarChart_StudentStatusIn30Days.tsx
10649
10653
  import { BarChart as BarChart4 } from "@mantine/charts";
10650
- import { Group as Group22, Paper as Paper16, Text as Text19, useMantineColorScheme as useMantineColorScheme5 } from "@mantine/core";
10651
- import { Fragment as Fragment16, jsx as jsx122, jsxs as jsxs74 } from "react/jsx-runtime";
10654
+ import { Group as Group23, Paper as Paper17, Text as Text20, useMantineColorScheme as useMantineColorScheme5 } from "@mantine/core";
10655
+ import { Fragment as Fragment16, jsx as jsx123, jsxs as jsxs75 } from "react/jsx-runtime";
10652
10656
 
10653
10657
  // src/modules-features/admin/core/MainDashboard/HBarChart_CourseDropOutPercentage.tsx
10654
10658
  import { BarChart as BarChart5 } from "@mantine/charts";
10655
- import { Group as Group23, Paper as Paper17, Text as Text20, useMantineColorScheme as useMantineColorScheme6 } from "@mantine/core";
10656
- import { jsx as jsx123, jsxs as jsxs75 } from "react/jsx-runtime";
10659
+ import { Group as Group24, Paper as Paper18, Text as Text21, useMantineColorScheme as useMantineColorScheme6 } from "@mantine/core";
10660
+ import { jsx as jsx124, jsxs as jsxs76 } from "react/jsx-runtime";
10657
10661
 
10658
10662
  // src/modules-features/admin/core/MainDashboard/HBarChart_CourseProgressPercentage.tsx
10659
10663
  import { BarChart as BarChart6 } from "@mantine/charts";
10660
- import { Group as Group24, Paper as Paper18, Text as Text21, useMantineColorScheme as useMantineColorScheme7 } from "@mantine/core";
10661
- import { jsx as jsx124, jsxs as jsxs76 } from "react/jsx-runtime";
10664
+ import { Group as Group25, Paper as Paper19, Text as Text22, useMantineColorScheme as useMantineColorScheme7 } from "@mantine/core";
10665
+ import { jsx as jsx125, jsxs as jsxs77 } from "react/jsx-runtime";
10662
10666
 
10663
10667
  // src/modules-features/admin/core/MainDashboard/LineChart_RevenueIn12Months.tsx
10664
10668
  import { LineChart } from "@mantine/charts";
10665
- import { Group as Group25, Paper as Paper19, Text as Text22 } from "@mantine/core";
10666
- import { Fragment as Fragment17, jsx as jsx125, jsxs as jsxs77 } from "react/jsx-runtime";
10669
+ import { Group as Group26, Paper as Paper20, Text as Text23 } from "@mantine/core";
10670
+ import { Fragment as Fragment17, jsx as jsx126, jsxs as jsxs78 } from "react/jsx-runtime";
10667
10671
 
10668
10672
  // src/modules-features/admin/core/MainDashboard/LineChart_TotalRevenueByDiscountIn3Months.tsx
10669
10673
  import { LineChart as LineChart2 } from "@mantine/charts";
10670
- import { Group as Group26, Paper as Paper20, Text as Text23 } from "@mantine/core";
10671
- import { Fragment as Fragment18, jsx as jsx126, jsxs as jsxs78 } from "react/jsx-runtime";
10674
+ import { Group as Group27, Paper as Paper21, Text as Text24 } from "@mantine/core";
10675
+ import { Fragment as Fragment18, jsx as jsx127, jsxs as jsxs79 } from "react/jsx-runtime";
10672
10676
 
10673
10677
  // src/modules-features/admin/core/MainDashboard/LineChart_TotalRevenueByVoucherIn3Months.tsx
10674
10678
  import { LineChart as LineChart3 } from "@mantine/charts";
10675
- import { Group as Group27, Paper as Paper21, Text as Text24 } from "@mantine/core";
10676
- import { Fragment as Fragment19, jsx as jsx127, jsxs as jsxs79 } from "react/jsx-runtime";
10679
+ import { Group as Group28, Paper as Paper22, Text as Text25 } from "@mantine/core";
10680
+ import { Fragment as Fragment19, jsx as jsx128, jsxs as jsxs80 } from "react/jsx-runtime";
10677
10681
 
10678
10682
  // src/modules-features/admin/core/MainDashboard/LineChart_TotalStudentIn12Months.tsx
10679
10683
  import { LineChart as LineChart4 } from "@mantine/charts";
10680
- import { Group as Group28, Paper as Paper22, Text as Text25 } from "@mantine/core";
10681
- import { Fragment as Fragment20, jsx as jsx128, jsxs as jsxs80 } from "react/jsx-runtime";
10684
+ import { Group as Group29, Paper as Paper23, Text as Text26 } from "@mantine/core";
10685
+ import { Fragment as Fragment20, jsx as jsx129, jsxs as jsxs81 } from "react/jsx-runtime";
10682
10686
 
10683
10687
  // src/modules-features/admin/core/MainDashboard/ViewDiscountStat.tsx
10684
- import { Center as Center4, Progress, Space as Space8, Text as Text26 } from "@mantine/core";
10688
+ import { Center as Center4, Progress, Space as Space8, Text as Text27 } from "@mantine/core";
10685
10689
  import { PieChart } from "@mantine/charts";
10686
10690
  import { useMemo as useMemo16 } from "react";
10687
- import { Fragment as Fragment21, jsx as jsx129, jsxs as jsxs81 } from "react/jsx-runtime";
10691
+ import { Fragment as Fragment21, jsx as jsx130, jsxs as jsxs82 } from "react/jsx-runtime";
10688
10692
  function getRandomColor(seed) {
10689
10693
  const random = Math.sin(seed) * 1e4;
10690
10694
  const color = `#${Math.floor((random - Math.floor(random)) * 16777215).toString(16).padStart(6, "0")}`;
@@ -10862,7 +10866,7 @@ function PieChart_DiscountUsedPercentage() {
10862
10866
  header: "M\xE0u",
10863
10867
  accessorKey: "color",
10864
10868
  accessorFn(originalRow) {
10865
- return /* @__PURE__ */ jsx129("div", { style: { width: 20, height: 20, backgroundColor: originalRow.color } });
10869
+ return /* @__PURE__ */ jsx130("div", { style: { width: 20, height: 20, backgroundColor: originalRow.color } });
10866
10870
  },
10867
10871
  minSize: 30,
10868
10872
  maxSize: 30
@@ -10877,7 +10881,7 @@ function PieChart_DiscountUsedPercentage() {
10877
10881
  header: "%",
10878
10882
  accessorKey: "used",
10879
10883
  accessorFn(originalRow) {
10880
- return /* @__PURE__ */ jsx129(Fragment21, { children: /* @__PURE__ */ jsx129(Center4, { children: /* @__PURE__ */ jsxs81(Text26, { children: [
10884
+ return /* @__PURE__ */ jsx130(Fragment21, { children: /* @__PURE__ */ jsx130(Center4, { children: /* @__PURE__ */ jsxs82(Text27, { children: [
10881
10885
  (originalRow.used / totalDisountCode * 100).toFixed(0),
10882
10886
  "%"
10883
10887
  ] }) }) });
@@ -10892,10 +10896,10 @@ function PieChart_DiscountUsedPercentage() {
10892
10896
  return originalRow.used;
10893
10897
  },
10894
10898
  Cell: ({ row }) => {
10895
- return /* @__PURE__ */ jsxs81(Fragment21, { children: [
10896
- /* @__PURE__ */ jsx129(Center4, { children: /* @__PURE__ */ jsxs81(Text26, { children: [
10899
+ return /* @__PURE__ */ jsxs82(Fragment21, { children: [
10900
+ /* @__PURE__ */ jsx130(Center4, { children: /* @__PURE__ */ jsxs82(Text27, { children: [
10897
10901
  "\u0110\xE3 s\u1EED d\u1EE5ng: ",
10898
- /* @__PURE__ */ jsxs81("strong", { children: [
10902
+ /* @__PURE__ */ jsxs82("strong", { children: [
10899
10903
  row.original.used,
10900
10904
  " / ",
10901
10905
  row.original.total
@@ -10904,7 +10908,7 @@ function PieChart_DiscountUsedPercentage() {
10904
10908
  (row.original.used / row.original.total * 100).toFixed(2),
10905
10909
  "%)"
10906
10910
  ] }) }),
10907
- /* @__PURE__ */ jsx129(Progress, { color: "yellow", radius: "xs", size: "lg", value: row.original.used / row.original.total * 100 })
10911
+ /* @__PURE__ */ jsx130(Progress, { color: "yellow", radius: "xs", size: "lg", value: row.original.used / row.original.total * 100 })
10908
10912
  ] });
10909
10913
  },
10910
10914
  minSize: 50,
@@ -10913,9 +10917,9 @@ function PieChart_DiscountUsedPercentage() {
10913
10917
  ],
10914
10918
  []
10915
10919
  );
10916
- return /* @__PURE__ */ jsx129(Fragment21, { children: /* @__PURE__ */ jsxs81(MyFlexColumn, { children: [
10917
- /* @__PURE__ */ jsx129(Text26, { 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" }),
10918
- /* @__PURE__ */ jsx129(Center4, { children: /* @__PURE__ */ jsx129(
10920
+ return /* @__PURE__ */ jsx130(Fragment21, { children: /* @__PURE__ */ jsxs82(MyFlexColumn, { children: [
10921
+ /* @__PURE__ */ jsx130(Text27, { 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" }),
10922
+ /* @__PURE__ */ jsx130(Center4, { children: /* @__PURE__ */ jsx130(
10919
10923
  PieChart,
10920
10924
  {
10921
10925
  startAngle: 90,
@@ -10928,8 +10932,8 @@ function PieChart_DiscountUsedPercentage() {
10928
10932
  data: data_used_discountCode
10929
10933
  }
10930
10934
  ) }),
10931
- /* @__PURE__ */ jsx129(Space8, { mt: 5 }),
10932
- /* @__PURE__ */ jsx129(
10935
+ /* @__PURE__ */ jsx130(Space8, { mt: 5 }),
10936
+ /* @__PURE__ */ jsx130(
10933
10937
  MyDataTable,
10934
10938
  {
10935
10939
  data: mockData,
@@ -10944,10 +10948,10 @@ function PieChart_DiscountUsedPercentage() {
10944
10948
  }
10945
10949
 
10946
10950
  // src/modules-features/admin/core/MainDashboard/ViewVoucherStat.tsx
10947
- import { Center as Center5, Progress as Progress2, Space as Space9, Text as Text27 } from "@mantine/core";
10951
+ import { Center as Center5, Progress as Progress2, Space as Space9, Text as Text28 } from "@mantine/core";
10948
10952
  import { PieChart as PieChart2 } from "@mantine/charts";
10949
10953
  import { useMemo as useMemo17 } from "react";
10950
- import { Fragment as Fragment22, jsx as jsx130, jsxs as jsxs82 } from "react/jsx-runtime";
10954
+ import { Fragment as Fragment22, jsx as jsx131, jsxs as jsxs83 } from "react/jsx-runtime";
10951
10955
  function getRandomColor2(seed) {
10952
10956
  const random = Math.sin(seed) * 1e4;
10953
10957
  const color = `#${Math.floor((random - Math.floor(random)) * 16777215).toString(16).padStart(6, "0")}`;
@@ -11125,7 +11129,7 @@ function PieChart_VoucherUsedPercentage() {
11125
11129
  header: "M\xE0u",
11126
11130
  accessorKey: "color",
11127
11131
  accessorFn(originalRow) {
11128
- return /* @__PURE__ */ jsx130("div", { style: { width: 20, height: 20, backgroundColor: originalRow.color } });
11132
+ return /* @__PURE__ */ jsx131("div", { style: { width: 20, height: 20, backgroundColor: originalRow.color } });
11129
11133
  },
11130
11134
  minSize: 30,
11131
11135
  maxSize: 30
@@ -11140,7 +11144,7 @@ function PieChart_VoucherUsedPercentage() {
11140
11144
  header: "%",
11141
11145
  accessorKey: "used",
11142
11146
  accessorFn(originalRow) {
11143
- return /* @__PURE__ */ jsx130(Fragment22, { children: /* @__PURE__ */ jsx130(Center5, { children: /* @__PURE__ */ jsxs82(Text27, { children: [
11147
+ return /* @__PURE__ */ jsx131(Fragment22, { children: /* @__PURE__ */ jsx131(Center5, { children: /* @__PURE__ */ jsxs83(Text28, { children: [
11144
11148
  (originalRow.used / totalVoucherCode * 100).toFixed(0),
11145
11149
  "%"
11146
11150
  ] }) }) });
@@ -11155,10 +11159,10 @@ function PieChart_VoucherUsedPercentage() {
11155
11159
  return originalRow.used;
11156
11160
  },
11157
11161
  Cell: ({ row }) => {
11158
- return /* @__PURE__ */ jsxs82(Fragment22, { children: [
11159
- /* @__PURE__ */ jsx130(Center5, { children: /* @__PURE__ */ jsxs82(Text27, { children: [
11162
+ return /* @__PURE__ */ jsxs83(Fragment22, { children: [
11163
+ /* @__PURE__ */ jsx131(Center5, { children: /* @__PURE__ */ jsxs83(Text28, { children: [
11160
11164
  "\u0110\xE3 s\u1EED d\u1EE5ng: ",
11161
- /* @__PURE__ */ jsxs82("strong", { children: [
11165
+ /* @__PURE__ */ jsxs83("strong", { children: [
11162
11166
  row.original.used,
11163
11167
  " / ",
11164
11168
  row.original.total
@@ -11167,7 +11171,7 @@ function PieChart_VoucherUsedPercentage() {
11167
11171
  (row.original.used / row.original.total * 100).toFixed(2),
11168
11172
  "%)"
11169
11173
  ] }) }),
11170
- /* @__PURE__ */ jsx130(Progress2, { color: "yellow", radius: "xs", size: "lg", value: row.original.used / row.original.total * 100 })
11174
+ /* @__PURE__ */ jsx131(Progress2, { color: "yellow", radius: "xs", size: "lg", value: row.original.used / row.original.total * 100 })
11171
11175
  ] });
11172
11176
  },
11173
11177
  minSize: 50,
@@ -11176,9 +11180,9 @@ function PieChart_VoucherUsedPercentage() {
11176
11180
  ],
11177
11181
  []
11178
11182
  );
11179
- return /* @__PURE__ */ jsx130(Fragment22, { children: /* @__PURE__ */ jsxs82(MyFlexColumn, { children: [
11180
- /* @__PURE__ */ jsx130(Text27, { 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" }),
11181
- /* @__PURE__ */ jsx130(Center5, { children: /* @__PURE__ */ jsx130(
11183
+ return /* @__PURE__ */ jsx131(Fragment22, { children: /* @__PURE__ */ jsxs83(MyFlexColumn, { children: [
11184
+ /* @__PURE__ */ jsx131(Text28, { 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" }),
11185
+ /* @__PURE__ */ jsx131(Center5, { children: /* @__PURE__ */ jsx131(
11182
11186
  PieChart2,
11183
11187
  {
11184
11188
  startAngle: 90,
@@ -11191,8 +11195,8 @@ function PieChart_VoucherUsedPercentage() {
11191
11195
  data: data_used_discountCode2
11192
11196
  }
11193
11197
  ) }),
11194
- /* @__PURE__ */ jsx130(Space9, { mt: 5 }),
11195
- /* @__PURE__ */ jsx130(
11198
+ /* @__PURE__ */ jsx131(Space9, { mt: 5 }),
11199
+ /* @__PURE__ */ jsx131(
11196
11200
  MyDataTable,
11197
11201
  {
11198
11202
  data: mockData2,
@@ -11207,7 +11211,7 @@ function PieChart_VoucherUsedPercentage() {
11207
11211
  }
11208
11212
 
11209
11213
  // src/modules-features/Authenticate/F_Authenticate_Logout.tsx
11210
- import { Button as Button18 } from "@mantine/core";
11214
+ import { Button as Button19 } from "@mantine/core";
11211
11215
  import { IconLogout } from "@tabler/icons-react";
11212
11216
  import { useRouter as useRouter4 } from "next/navigation";
11213
11217
 
@@ -11224,20 +11228,20 @@ function useS_Authenticate() {
11224
11228
  }
11225
11229
 
11226
11230
  // src/modules-features/Authenticate/F_Authenticate_Logout.tsx
11227
- import { jsx as jsx131 } from "react/jsx-runtime";
11231
+ import { jsx as jsx132 } from "react/jsx-runtime";
11228
11232
  function F_Authenticate_Logout({ redirectURL = "/auth/login" }) {
11229
11233
  const router = useRouter4();
11230
11234
  const S_Authenticate = useS_Authenticate();
11231
- return /* @__PURE__ */ jsx131(Button18, { onClick: () => {
11235
+ return /* @__PURE__ */ jsx132(Button19, { onClick: () => {
11232
11236
  S_Authenticate.setProperty("token", "");
11233
11237
  router.replace(redirectURL);
11234
- }, leftSection: /* @__PURE__ */ jsx131(IconLogout, {}), fullWidth: true, justify: "start", variant: "subtle", children: "\u0110\u0103ng xu\u1EA5t" });
11238
+ }, leftSection: /* @__PURE__ */ jsx132(IconLogout, {}), fullWidth: true, justify: "start", variant: "subtle", children: "\u0110\u0103ng xu\u1EA5t" });
11235
11239
  }
11236
11240
 
11237
11241
  // src/modules-features/Authenticate/F_Authenticate_SplashPage.tsx
11238
11242
  import { useRouter as useRouter5 } from "next/navigation";
11239
11243
  import { useEffect as useEffect18 } from "react";
11240
- import { jsx as jsx132 } from "react/jsx-runtime";
11244
+ import { jsx as jsx133 } from "react/jsx-runtime";
11241
11245
  function F_authenticate_SplashPage() {
11242
11246
  const router = useRouter5();
11243
11247
  const S_Authenticate = useS_Authenticate();
@@ -11248,21 +11252,21 @@ function F_authenticate_SplashPage() {
11248
11252
  }
11249
11253
  router.push("/admin/core71678");
11250
11254
  }, [S_Authenticate.state.token]);
11251
- return /* @__PURE__ */ jsx132(MyBoxesBackground, { title: "H\u1EC7 th\u1ED1ng th\xF4ng tin qu\u1EA3n l\xED \u0111\xE0o t\u1EA1o ng\u1EAFn h\u1EA1n" });
11255
+ return /* @__PURE__ */ jsx133(MyBoxesBackground, { title: "H\u1EC7 th\u1ED1ng th\xF4ng tin qu\u1EA3n l\xED \u0111\xE0o t\u1EA1o ng\u1EAFn h\u1EA1n" });
11252
11256
  }
11253
11257
 
11254
11258
  // src/modules-features/Authenticate/F_Authenticate_Login/F_Authenticate_Login.tsx
11255
11259
  import {
11256
11260
  Anchor as Anchor2,
11257
11261
  BackgroundImage,
11258
- Button as Button19,
11262
+ Button as Button20,
11259
11263
  Center as Center6,
11260
11264
  Checkbox as Checkbox5,
11261
- Flex as Flex7,
11262
- Group as Group29,
11263
- Paper as Paper23,
11265
+ Flex as Flex8,
11266
+ Group as Group30,
11267
+ Paper as Paper24,
11264
11268
  PasswordInput as PasswordInput2,
11265
- Text as Text28,
11269
+ Text as Text29,
11266
11270
  TextInput as TextInput6,
11267
11271
  Title as Title2
11268
11272
  } from "@mantine/core";
@@ -11277,7 +11281,7 @@ import { useState as useState17 } from "react";
11277
11281
  var css_default3 = {};
11278
11282
 
11279
11283
  // src/modules-features/Authenticate/F_Authenticate_Login/F_Authenticate_Login.tsx
11280
- import { jsx as jsx133, jsxs as jsxs83 } from "react/jsx-runtime";
11284
+ import { jsx as jsx134, jsxs as jsxs84 } from "react/jsx-runtime";
11281
11285
  function F_Authenticate_Login({
11282
11286
  loginInfo,
11283
11287
  redirectUrlAfterLogin = "/admin/dashboard",
@@ -11330,21 +11334,21 @@ function F_Authenticate_Login({
11330
11334
  }
11331
11335
  });
11332
11336
  }
11333
- return /* @__PURE__ */ jsx133(
11337
+ return /* @__PURE__ */ jsx134(
11334
11338
  BackgroundImage,
11335
11339
  {
11336
11340
  src: backgroundImage,
11337
11341
  h: "100vh",
11338
- children: /* @__PURE__ */ jsx133(Center6, { h: "100vh", children: /* @__PURE__ */ jsxs83(Paper23, { withBorder: true, w: 400, m: "md", shadow: "md", p: 30, mt: 30, radius: "md", children: [
11339
- /* @__PURE__ */ jsxs83(Flex7, { direction: "column", mb: "md", children: [
11340
- /* @__PURE__ */ jsx133(Title2, { ta: "center", className: css_default3.title, children: "\u0110\u0103ng nh\u1EADp!" }),
11341
- /* @__PURE__ */ jsxs83(Text28, { c: "dimmed", size: "sm", ta: "center", mt: 5, children: [
11342
+ children: /* @__PURE__ */ jsx134(Center6, { h: "100vh", children: /* @__PURE__ */ jsxs84(Paper24, { withBorder: true, w: 400, m: "md", shadow: "md", p: 30, mt: 30, radius: "md", children: [
11343
+ /* @__PURE__ */ jsxs84(Flex8, { direction: "column", mb: "md", children: [
11344
+ /* @__PURE__ */ jsx134(Title2, { ta: "center", className: css_default3.title, children: "\u0110\u0103ng nh\u1EADp!" }),
11345
+ /* @__PURE__ */ jsxs84(Text29, { c: "dimmed", size: "sm", ta: "center", mt: 5, children: [
11342
11346
  "B\u1EA1n g\u1EB7p v\u1EA5n \u0111\u1EC1 k\u1EF9 thu\u1EADt?\xA0",
11343
- /* @__PURE__ */ jsx133(Anchor2, { size: "sm", component: "button", children: "V\xE0o link n\xE0y" })
11347
+ /* @__PURE__ */ jsx134(Anchor2, { size: "sm", component: "button", children: "V\xE0o link n\xE0y" })
11344
11348
  ] })
11345
11349
  ] }),
11346
- /* @__PURE__ */ jsx133("form", { onSubmit: form.onSubmit(async (values) => handleSubmit(values.username, values.password)), children: /* @__PURE__ */ jsxs83(MyFlexColumn, { children: [
11347
- /* @__PURE__ */ jsx133(
11350
+ /* @__PURE__ */ jsx134("form", { onSubmit: form.onSubmit(async (values) => handleSubmit(values.username, values.password)), children: /* @__PURE__ */ jsxs84(MyFlexColumn, { children: [
11351
+ /* @__PURE__ */ jsx134(
11348
11352
  TextInput6,
11349
11353
  __spreadProps(__spreadValues({}, form.getInputProps("username")), {
11350
11354
  label: "T\xE0i kho\u1EA3n",
@@ -11352,7 +11356,7 @@ function F_Authenticate_Login({
11352
11356
  withAsterisk: true
11353
11357
  })
11354
11358
  ),
11355
- /* @__PURE__ */ jsx133(
11359
+ /* @__PURE__ */ jsx134(
11356
11360
  PasswordInput2,
11357
11361
  __spreadProps(__spreadValues({}, form.getInputProps("password")), {
11358
11362
  label: "M\u1EADt kh\u1EA9u",
@@ -11360,12 +11364,12 @@ function F_Authenticate_Login({
11360
11364
  withAsterisk: true
11361
11365
  })
11362
11366
  ),
11363
- /* @__PURE__ */ jsxs83(Group29, { justify: "space-between", children: [
11364
- /* @__PURE__ */ jsx133(Checkbox5, { label: "L\u01B0u \u0111\u0103ng nh\u1EADp" }),
11365
- /* @__PURE__ */ jsx133(Anchor2, { component: Link5, href: "quen-mat-khau", size: "sm", children: "Qu\xEAn m\u1EADt kh\u1EA9u?" })
11367
+ /* @__PURE__ */ jsxs84(Group30, { justify: "space-between", children: [
11368
+ /* @__PURE__ */ jsx134(Checkbox5, { label: "L\u01B0u \u0111\u0103ng nh\u1EADp" }),
11369
+ /* @__PURE__ */ jsx134(Anchor2, { component: Link5, href: "quen-mat-khau", size: "sm", children: "Qu\xEAn m\u1EADt kh\u1EA9u?" })
11366
11370
  ] }),
11367
- /* @__PURE__ */ jsx133(
11368
- Button19,
11371
+ /* @__PURE__ */ jsx134(
11372
+ Button20,
11369
11373
  {
11370
11374
  loading: loadingState[0],
11371
11375
  type: "submit",