aq-fe-framework 0.1.328 → 0.1.330

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.
@@ -346,13 +346,13 @@ function MyDataTableSelectOne({
346
346
  // src/core/dataDisplay/MyLabelValueRow.tsx
347
347
  import { Group, Text } from "@mantine/core";
348
348
  import { jsx as jsx6, jsxs as jsxs3 } from "react/jsx-runtime";
349
- var MyLabelValueRow = ({
349
+ function MyLabelValueRow({
350
350
  label,
351
351
  value,
352
352
  labelProps,
353
353
  valueProps,
354
354
  groupProps
355
- }) => {
355
+ }) {
356
356
  return /* @__PURE__ */ jsxs3(Group, __spreadProps(__spreadValues({ gap: 5, wrap: "nowrap" }, groupProps), { children: [
357
357
  /* @__PURE__ */ jsxs3(Text, __spreadProps(__spreadValues({ fw: 600 }, labelProps), { children: [
358
358
  label,
@@ -360,7 +360,7 @@ var MyLabelValueRow = ({
360
360
  ] })),
361
361
  /* @__PURE__ */ jsx6(Text, __spreadProps(__spreadValues({}, valueProps), { children: value }))
362
362
  ] }));
363
- };
363
+ }
364
364
 
365
365
  // src/core/input/MyDayOfWeekPicker.tsx
366
366
  import { Badge, Group as Group2 } from "@mantine/core";
@@ -6574,43 +6574,30 @@ function MyIconText({ icon: Icon, text }) {
6574
6574
  ] });
6575
6575
  }
6576
6576
 
6577
- // src/components/DataDisplay/KeyLabel/MyKeyLabel.tsx
6578
- import { Group as Group12, Text as Text11 } from "@mantine/core";
6579
- import { jsx as jsx39, jsxs as jsxs24 } from "react/jsx-runtime";
6580
- function MyKeyLabel({ keyLabel, label }) {
6581
- return /* @__PURE__ */ jsxs24(Group12, { gap: 5, children: [
6582
- /* @__PURE__ */ jsxs24(Text11, { fw: "bold", children: [
6583
- keyLabel,
6584
- ":"
6585
- ] }),
6586
- /* @__PURE__ */ jsx39(Text11, { children: label })
6587
- ] });
6588
- }
6589
-
6590
6577
  // src/components/DataDisplay/NumberFormatter/MyNumberFormatter.tsx
6591
6578
  import { NumberFormatter } from "@mantine/core";
6592
- import { jsx as jsx40 } from "react/jsx-runtime";
6579
+ import { jsx as jsx39 } from "react/jsx-runtime";
6593
6580
  function MyNumberFormatter(_a) {
6594
6581
  var rest = __objRest(_a, []);
6595
- return /* @__PURE__ */ jsx40(NumberFormatter, __spreadValues({ thousandSeparator: true, suffix: " VN\u0110" }, rest));
6582
+ return /* @__PURE__ */ jsx39(NumberFormatter, __spreadValues({ thousandSeparator: true, suffix: " VN\u0110" }, rest));
6596
6583
  }
6597
6584
 
6598
6585
  // src/components/DataDisplay/StatCard/AQStatCard1.tsx
6599
- import { Box as Box3, Button as Button12, Flex as Flex2, Group as Group13, Paper as Paper6, Text as Text12 } from "@mantine/core";
6586
+ import { Box as Box3, Button as Button12, Flex as Flex2, Group as Group12, Paper as Paper6, Text as Text11 } from "@mantine/core";
6600
6587
  import { IconArrowDownRight as IconArrowDownRight2, IconArrowUpRight as IconArrowUpRight2 } from "@tabler/icons-react";
6601
- import { Fragment as Fragment11, jsx as jsx41, jsxs as jsxs25 } from "react/jsx-runtime";
6588
+ import { Fragment as Fragment11, jsx as jsx40, jsxs as jsxs24 } from "react/jsx-runtime";
6602
6589
  function AQStatCard1({ title, value, unit = "", description, icons, diff }) {
6603
- return /* @__PURE__ */ jsx41(Fragment11, { children: /* @__PURE__ */ jsxs25(
6590
+ return /* @__PURE__ */ jsx40(Fragment11, { children: /* @__PURE__ */ jsxs24(
6604
6591
  Paper6,
6605
6592
  {
6606
6593
  withBorder: true,
6607
6594
  p: "md",
6608
6595
  radius: "md",
6609
6596
  children: [
6610
- /* @__PURE__ */ jsxs25(Group13, { justify: "space-between", children: [
6611
- /* @__PURE__ */ jsxs25(Flex2, { direction: "column", children: [
6612
- /* @__PURE__ */ jsx41(
6613
- Text12,
6597
+ /* @__PURE__ */ jsxs24(Group12, { justify: "space-between", children: [
6598
+ /* @__PURE__ */ jsxs24(Flex2, { direction: "column", children: [
6599
+ /* @__PURE__ */ jsx40(
6600
+ Text11,
6614
6601
  {
6615
6602
  tt: "uppercase",
6616
6603
  size: "lg",
@@ -6618,53 +6605,53 @@ function AQStatCard1({ title, value, unit = "", description, icons, diff }) {
6618
6605
  children: title
6619
6606
  }
6620
6607
  ),
6621
- unit == "" ? /* @__PURE__ */ jsxs25(Text12, { size: "xs", style: { visibility: "hidden" }, children: [
6608
+ unit == "" ? /* @__PURE__ */ jsxs24(Text11, { size: "xs", style: { visibility: "hidden" }, children: [
6622
6609
  "\u0110\u01A1n v\u1ECB: ",
6623
- /* @__PURE__ */ jsx41("strong", { children: unit })
6624
- ] }) : /* @__PURE__ */ jsxs25(Text12, { size: "xs", children: [
6610
+ /* @__PURE__ */ jsx40("strong", { children: unit })
6611
+ ] }) : /* @__PURE__ */ jsxs24(Text11, { size: "xs", children: [
6625
6612
  "\u0110\u01A1n v\u1ECB: ",
6626
- /* @__PURE__ */ jsx41("strong", { children: unit })
6613
+ /* @__PURE__ */ jsx40("strong", { children: unit })
6627
6614
  ] })
6628
6615
  ] }),
6629
- /* @__PURE__ */ jsx41(Box3, { children: icons })
6616
+ /* @__PURE__ */ jsx40(Box3, { children: icons })
6630
6617
  ] }),
6631
- /* @__PURE__ */ jsxs25(
6632
- Group13,
6618
+ /* @__PURE__ */ jsxs24(
6619
+ Group12,
6633
6620
  {
6634
6621
  mt: "5",
6635
6622
  align: "flex-end",
6636
6623
  gap: "xs",
6637
6624
  children: [
6638
- /* @__PURE__ */ jsx41(
6639
- Text12,
6625
+ /* @__PURE__ */ jsx40(
6626
+ Text11,
6640
6627
  {
6641
6628
  fw: 700,
6642
6629
  fz: "h1",
6643
6630
  children: value
6644
6631
  }
6645
6632
  ),
6646
- /* @__PURE__ */ jsxs25(
6647
- Text12,
6633
+ /* @__PURE__ */ jsxs24(
6634
+ Text11,
6648
6635
  {
6649
6636
  mb: "2",
6650
6637
  c: diff > 0 ? "teal" : "red",
6651
6638
  fz: "h2",
6652
6639
  fw: 500,
6653
6640
  children: [
6654
- /* @__PURE__ */ jsxs25("span", { children: [
6641
+ /* @__PURE__ */ jsxs24("span", { children: [
6655
6642
  diff,
6656
6643
  "%"
6657
6644
  ] }),
6658
- diff > 0 ? /* @__PURE__ */ jsx41(IconArrowUpRight2, {}) : /* @__PURE__ */ jsx41(IconArrowDownRight2, {})
6645
+ diff > 0 ? /* @__PURE__ */ jsx40(IconArrowUpRight2, {}) : /* @__PURE__ */ jsx40(IconArrowDownRight2, {})
6659
6646
  ]
6660
6647
  }
6661
6648
  )
6662
6649
  ]
6663
6650
  }
6664
6651
  ),
6665
- /* @__PURE__ */ jsxs25(Group13, { justify: "space-between", children: [
6666
- /* @__PURE__ */ jsx41(Text12, { tt: "uppercase", fz: "xs", c: "dimmed", children: description }),
6667
- /* @__PURE__ */ jsx41(
6652
+ /* @__PURE__ */ jsxs24(Group12, { justify: "space-between", children: [
6653
+ /* @__PURE__ */ jsx40(Text11, { tt: "uppercase", fz: "xs", c: "dimmed", children: description }),
6654
+ /* @__PURE__ */ jsx40(
6668
6655
  Button12,
6669
6656
  {
6670
6657
  variant: "light",
@@ -6755,20 +6742,20 @@ function FaviconSetter() {
6755
6742
 
6756
6743
  // src/components/Inputs/DateInput/MyDateInput.tsx
6757
6744
  import { DateInput } from "@mantine/dates";
6758
- import { jsx as jsx42 } from "react/jsx-runtime";
6745
+ import { jsx as jsx41 } from "react/jsx-runtime";
6759
6746
  function MyDateInput(_a) {
6760
6747
  var _b = _a, { label } = _b, rest = __objRest(_b, ["label"]);
6761
- return /* @__PURE__ */ jsx42(DateInput, __spreadValues({ label, placeholder: label ? `Ch\u1ECDn ${label == null ? void 0 : label.toLowerCase()}` : "" }, rest));
6748
+ return /* @__PURE__ */ jsx41(DateInput, __spreadValues({ label, placeholder: label ? `Ch\u1ECDn ${label == null ? void 0 : label.toLowerCase()}` : "" }, rest));
6762
6749
  }
6763
6750
 
6764
6751
  // src/components/Inputs/Fieldset/MyFieldset.tsx
6765
6752
  import {
6766
6753
  Fieldset as Fieldset4,
6767
- Group as Group14,
6768
- Text as Text13,
6754
+ Group as Group13,
6755
+ Text as Text12,
6769
6756
  useMantineColorScheme as useMantineColorScheme2
6770
6757
  } from "@mantine/core";
6771
- import { jsx as jsx43, jsxs as jsxs26 } from "react/jsx-runtime";
6758
+ import { jsx as jsx42, jsxs as jsxs25 } from "react/jsx-runtime";
6772
6759
  function MyFieldset(_a) {
6773
6760
  var _b = _a, {
6774
6761
  children,
@@ -6797,10 +6784,10 @@ function MyFieldset(_a) {
6797
6784
  const mergedStyles = typeof styles === "function" ? styles : __spreadProps(__spreadValues({}, styles), {
6798
6785
  legend: __spreadValues(__spreadValues({}, defaultLegendStyles), styles == null ? void 0 : styles.legend)
6799
6786
  });
6800
- return /* @__PURE__ */ jsx43(
6787
+ return /* @__PURE__ */ jsx42(
6801
6788
  Fieldset4,
6802
6789
  __spreadProps(__spreadValues({
6803
- legend: customLegend != null ? customLegend : /* @__PURE__ */ jsx43(Group14, { gap: "xs", children: /* @__PURE__ */ jsxs26(Text13, { fw: 600, children: [
6790
+ legend: customLegend != null ? customLegend : /* @__PURE__ */ jsx42(Group13, { gap: "xs", children: /* @__PURE__ */ jsxs25(Text12, { fw: 600, children: [
6804
6791
  " ",
6805
6792
  title,
6806
6793
  " "
@@ -6815,13 +6802,13 @@ function MyFieldset(_a) {
6815
6802
  // src/components/Inputs/FileInput/MyFileInput.tsx
6816
6803
  import { FileInput as FileInput3 } from "@mantine/core";
6817
6804
  import { IconFile } from "@tabler/icons-react";
6818
- import { jsx as jsx44 } from "react/jsx-runtime";
6805
+ import { jsx as jsx43 } from "react/jsx-runtime";
6819
6806
  function MyFileInput(_a) {
6820
6807
  var _b = _a, { label } = _b, rest = __objRest(_b, ["label"]);
6821
- return /* @__PURE__ */ jsx44(
6808
+ return /* @__PURE__ */ jsx43(
6822
6809
  FileInput3,
6823
6810
  __spreadValues({
6824
- rightSection: /* @__PURE__ */ jsx44(IconFile, {}),
6811
+ rightSection: /* @__PURE__ */ jsx43(IconFile, {}),
6825
6812
  label,
6826
6813
  placeholder: label ? `Ch\u1ECDn ${label == null ? void 0 : label.toLowerCase()}` : ""
6827
6814
  }, rest)
@@ -6831,26 +6818,26 @@ function MyFileInput(_a) {
6831
6818
  // src/components/Inputs/NumberInput/MyNumberInput.tsx
6832
6819
  import { NumberInput as NumberInput2 } from "@mantine/core";
6833
6820
  import { IconNumbers } from "@tabler/icons-react";
6834
- import { jsx as jsx45 } from "react/jsx-runtime";
6821
+ import { jsx as jsx44 } from "react/jsx-runtime";
6835
6822
  function MyNumberInput(_a) {
6836
6823
  var _b = _a, { minValue, label } = _b, rest = __objRest(_b, ["minValue", "label"]);
6837
- return /* @__PURE__ */ jsx45(
6824
+ return /* @__PURE__ */ jsx44(
6838
6825
  NumberInput2,
6839
6826
  __spreadValues({
6840
6827
  label,
6841
6828
  min: minValue ? minValue : 0,
6842
6829
  placeholder: label ? `Nh\u1EADp ${label == null ? void 0 : label.toLowerCase()}` : "",
6843
- rightSection: /* @__PURE__ */ jsx45(IconNumbers, {})
6830
+ rightSection: /* @__PURE__ */ jsx44(IconNumbers, {})
6844
6831
  }, rest)
6845
6832
  );
6846
6833
  }
6847
6834
 
6848
6835
  // src/components/Inputs/TextArea/MyTextArea.tsx
6849
6836
  import { Textarea } from "@mantine/core";
6850
- import { jsx as jsx46 } from "react/jsx-runtime";
6837
+ import { jsx as jsx45 } from "react/jsx-runtime";
6851
6838
  function MyTextArea(_a) {
6852
6839
  var _b = _a, { label } = _b, rest = __objRest(_b, ["label"]);
6853
- return /* @__PURE__ */ jsx46(Textarea, __spreadValues({ label, placeholder: label ? `Nh\u1EADp ${label == null ? void 0 : label.toLowerCase()}` : "" }, rest));
6840
+ return /* @__PURE__ */ jsx45(Textarea, __spreadValues({ label, placeholder: label ? `Nh\u1EADp ${label == null ? void 0 : label.toLowerCase()}` : "" }, rest));
6854
6841
  }
6855
6842
 
6856
6843
  // src/components/Inputs/TextEditor/MyTextEditor.tsx
@@ -6866,7 +6853,7 @@ import Underline from "@tiptap/extension-underline";
6866
6853
  import { useEditor } from "@tiptap/react";
6867
6854
  import StarterKit from "@tiptap/starter-kit";
6868
6855
  import { useEffect as useEffect7, useState as useState9 } from "react";
6869
- import { jsx as jsx47, jsxs as jsxs27 } from "react/jsx-runtime";
6856
+ import { jsx as jsx46, jsxs as jsxs26 } from "react/jsx-runtime";
6870
6857
  function MyTextEditor(_a) {
6871
6858
  var _b = _a, {
6872
6859
  autoHiddenToolBar = false,
@@ -6972,43 +6959,43 @@ function MyTextEditor(_a) {
6972
6959
  editor.commands.setContent(value);
6973
6960
  }
6974
6961
  }, [value, editor]);
6975
- return /* @__PURE__ */ jsx47(Input.Wrapper, __spreadProps(__spreadValues({ label, flex: 1, error, withAsterisk }, inputWrapperProps), { children: /* @__PURE__ */ jsxs27(RichTextEditor, __spreadProps(__spreadValues({ editor, style: { border: error && "1px solid #e03131" } }, richTextEditorProps), { children: [
6976
- /* @__PURE__ */ jsxs27(RichTextEditor.Toolbar, { hidden: hiddenToolBar, sticky: true, stickyOffset: 60, children: [
6977
- /* @__PURE__ */ jsxs27(RichTextEditor.ControlsGroup, { children: [
6978
- /* @__PURE__ */ jsx47(RichTextEditor.Bold, {}),
6979
- /* @__PURE__ */ jsx47(RichTextEditor.Italic, {}),
6980
- /* @__PURE__ */ jsx47(RichTextEditor.Underline, {}),
6981
- /* @__PURE__ */ jsx47(RichTextEditor.Strikethrough, {}),
6982
- /* @__PURE__ */ jsx47(RichTextEditor.ClearFormatting, {}),
6983
- /* @__PURE__ */ jsx47(RichTextEditor.Highlight, {}),
6984
- /* @__PURE__ */ jsx47(RichTextEditor.Code, {})
6962
+ return /* @__PURE__ */ jsx46(Input.Wrapper, __spreadProps(__spreadValues({ label, flex: 1, error, withAsterisk }, inputWrapperProps), { children: /* @__PURE__ */ jsxs26(RichTextEditor, __spreadProps(__spreadValues({ editor, style: { border: error && "1px solid #e03131" } }, richTextEditorProps), { children: [
6963
+ /* @__PURE__ */ jsxs26(RichTextEditor.Toolbar, { hidden: hiddenToolBar, sticky: true, stickyOffset: 60, children: [
6964
+ /* @__PURE__ */ jsxs26(RichTextEditor.ControlsGroup, { children: [
6965
+ /* @__PURE__ */ jsx46(RichTextEditor.Bold, {}),
6966
+ /* @__PURE__ */ jsx46(RichTextEditor.Italic, {}),
6967
+ /* @__PURE__ */ jsx46(RichTextEditor.Underline, {}),
6968
+ /* @__PURE__ */ jsx46(RichTextEditor.Strikethrough, {}),
6969
+ /* @__PURE__ */ jsx46(RichTextEditor.ClearFormatting, {}),
6970
+ /* @__PURE__ */ jsx46(RichTextEditor.Highlight, {}),
6971
+ /* @__PURE__ */ jsx46(RichTextEditor.Code, {})
6985
6972
  ] }),
6986
- /* @__PURE__ */ jsxs27(RichTextEditor.ControlsGroup, { children: [
6987
- /* @__PURE__ */ jsx47(RichTextEditor.H1, {}),
6988
- /* @__PURE__ */ jsx47(RichTextEditor.H2, {}),
6989
- /* @__PURE__ */ jsx47(RichTextEditor.H3, {}),
6990
- /* @__PURE__ */ jsx47(RichTextEditor.H4, {})
6973
+ /* @__PURE__ */ jsxs26(RichTextEditor.ControlsGroup, { children: [
6974
+ /* @__PURE__ */ jsx46(RichTextEditor.H1, {}),
6975
+ /* @__PURE__ */ jsx46(RichTextEditor.H2, {}),
6976
+ /* @__PURE__ */ jsx46(RichTextEditor.H3, {}),
6977
+ /* @__PURE__ */ jsx46(RichTextEditor.H4, {})
6991
6978
  ] }),
6992
- /* @__PURE__ */ jsxs27(RichTextEditor.ControlsGroup, { children: [
6993
- /* @__PURE__ */ jsx47(RichTextEditor.Blockquote, {}),
6994
- /* @__PURE__ */ jsx47(RichTextEditor.Hr, {}),
6995
- /* @__PURE__ */ jsx47(RichTextEditor.BulletList, {}),
6996
- /* @__PURE__ */ jsx47(RichTextEditor.OrderedList, {}),
6997
- /* @__PURE__ */ jsx47(RichTextEditor.Subscript, {}),
6998
- /* @__PURE__ */ jsx47(RichTextEditor.Superscript, {})
6979
+ /* @__PURE__ */ jsxs26(RichTextEditor.ControlsGroup, { children: [
6980
+ /* @__PURE__ */ jsx46(RichTextEditor.Blockquote, {}),
6981
+ /* @__PURE__ */ jsx46(RichTextEditor.Hr, {}),
6982
+ /* @__PURE__ */ jsx46(RichTextEditor.BulletList, {}),
6983
+ /* @__PURE__ */ jsx46(RichTextEditor.OrderedList, {}),
6984
+ /* @__PURE__ */ jsx46(RichTextEditor.Subscript, {}),
6985
+ /* @__PURE__ */ jsx46(RichTextEditor.Superscript, {})
6999
6986
  ] }),
7000
- /* @__PURE__ */ jsxs27(RichTextEditor.ControlsGroup, { children: [
7001
- /* @__PURE__ */ jsx47(RichTextEditor.Link, {}),
7002
- /* @__PURE__ */ jsx47(RichTextEditor.Unlink, {})
6987
+ /* @__PURE__ */ jsxs26(RichTextEditor.ControlsGroup, { children: [
6988
+ /* @__PURE__ */ jsx46(RichTextEditor.Link, {}),
6989
+ /* @__PURE__ */ jsx46(RichTextEditor.Unlink, {})
7003
6990
  ] }),
7004
- /* @__PURE__ */ jsxs27(RichTextEditor.ControlsGroup, { children: [
7005
- /* @__PURE__ */ jsx47(RichTextEditor.AlignLeft, {}),
7006
- /* @__PURE__ */ jsx47(RichTextEditor.AlignCenter, {}),
7007
- /* @__PURE__ */ jsx47(RichTextEditor.AlignJustify, {}),
7008
- /* @__PURE__ */ jsx47(RichTextEditor.AlignRight, {})
6991
+ /* @__PURE__ */ jsxs26(RichTextEditor.ControlsGroup, { children: [
6992
+ /* @__PURE__ */ jsx46(RichTextEditor.AlignLeft, {}),
6993
+ /* @__PURE__ */ jsx46(RichTextEditor.AlignCenter, {}),
6994
+ /* @__PURE__ */ jsx46(RichTextEditor.AlignJustify, {}),
6995
+ /* @__PURE__ */ jsx46(RichTextEditor.AlignRight, {})
7009
6996
  ] })
7010
6997
  ] }),
7011
- /* @__PURE__ */ jsx47(
6998
+ /* @__PURE__ */ jsx46(
7012
6999
  ScrollArea2.Autosize,
7013
7000
  {
7014
7001
  onMouseDown: () => {
@@ -7023,7 +7010,7 @@ function MyTextEditor(_a) {
7023
7010
  setHiddenToolBar(false);
7024
7011
  },
7025
7012
  style: { cursor: "text", maxHeight: "400px" },
7026
- children: /* @__PURE__ */ jsx47(RichTextEditor.Content, { mih: contentHeight })
7013
+ children: /* @__PURE__ */ jsx46(RichTextEditor.Content, { mih: contentHeight })
7027
7014
  }
7028
7015
  )
7029
7016
  ] })) }));
@@ -7045,14 +7032,14 @@ function useS_authenticate() {
7045
7032
  }
7046
7033
 
7047
7034
  // src/modules-features/authenticate/F_authenticate_Logout.tsx
7048
- import { jsx as jsx48 } from "react/jsx-runtime";
7035
+ import { jsx as jsx47 } from "react/jsx-runtime";
7049
7036
  function F_authenticate_Logout({ redirectURL = "/auth/login" }) {
7050
7037
  const router = useRouter3();
7051
7038
  const S_Authenticate = useS_authenticate();
7052
- return /* @__PURE__ */ jsx48(Button13, { onClick: () => {
7039
+ return /* @__PURE__ */ jsx47(Button13, { onClick: () => {
7053
7040
  S_Authenticate.setProperty("token", "");
7054
7041
  router.replace(redirectURL);
7055
- }, leftSection: /* @__PURE__ */ jsx48(IconLogout, {}), fullWidth: true, justify: "start", variant: "subtle", children: "\u0110\u0103ng xu\u1EA5t" });
7042
+ }, leftSection: /* @__PURE__ */ jsx47(IconLogout, {}), fullWidth: true, justify: "start", variant: "subtle", children: "\u0110\u0103ng xu\u1EA5t" });
7056
7043
  }
7057
7044
 
7058
7045
  // src/components/Layouts/BasicAppShell/BasicAppShell.tsx
@@ -7061,11 +7048,11 @@ import {
7061
7048
  AppShell,
7062
7049
  Badge as Badge3,
7063
7050
  Divider as Divider2,
7064
- Group as Group15,
7051
+ Group as Group14,
7065
7052
  Image as Image3,
7066
7053
  NavLink,
7067
7054
  ScrollArea as ScrollArea3,
7068
- Text as Text14,
7055
+ Text as Text13,
7069
7056
  Tooltip as Tooltip5
7070
7057
  } from "@mantine/core";
7071
7058
  import { useFavicon, useMediaQuery } from "@mantine/hooks";
@@ -7077,7 +7064,7 @@ import {
7077
7064
  import Link3 from "next/link";
7078
7065
  import { usePathname as usePathname2 } from "next/navigation";
7079
7066
  import { useEffect as useEffect8, useMemo as useMemo3, useState as useState10 } from "react";
7080
- import { Fragment as Fragment12, jsx as jsx49, jsxs as jsxs28 } from "react/jsx-runtime";
7067
+ import { Fragment as Fragment12, jsx as jsx48, jsxs as jsxs27 } from "react/jsx-runtime";
7081
7068
  function findBreadcrumbPath(items, currentPath, parents = []) {
7082
7069
  for (const item of items) {
7083
7070
  if (item.link === currentPath) {
@@ -7092,13 +7079,13 @@ function findBreadcrumbPath(items, currentPath, parents = []) {
7092
7079
  }
7093
7080
  function getRightSection(status) {
7094
7081
  if (status === "Prototype")
7095
- return /* @__PURE__ */ jsx49(Badge3, { styles: { root: { cursor: "pointer" } }, radius: "xs", color: "pink", circle: true, children: "P" });
7082
+ return /* @__PURE__ */ jsx48(Badge3, { styles: { root: { cursor: "pointer" } }, radius: "xs", color: "pink", circle: true, children: "P" });
7096
7083
  if (status === "New")
7097
- return /* @__PURE__ */ jsx49(Badge3, { styles: { root: { cursor: "pointer" } }, radius: "xs", circle: true, children: "N" });
7084
+ return /* @__PURE__ */ jsx48(Badge3, { styles: { root: { cursor: "pointer" } }, radius: "xs", circle: true, children: "N" });
7098
7085
  if (status === "Menu")
7099
- return /* @__PURE__ */ jsx49(Badge3, { styles: { root: { cursor: "pointer" } }, radius: "xs", color: "gray", circle: true, children: "M" });
7086
+ return /* @__PURE__ */ jsx48(Badge3, { styles: { root: { cursor: "pointer" } }, radius: "xs", color: "gray", circle: true, children: "M" });
7100
7087
  if (status === "Change")
7101
- return /* @__PURE__ */ jsx49(Badge3, { styles: { root: { cursor: "pointer" } }, radius: "xs", color: "green", circle: true, children: "C" });
7088
+ return /* @__PURE__ */ jsx48(Badge3, { styles: { root: { cursor: "pointer" } }, radius: "xs", color: "green", circle: true, children: "C" });
7102
7089
  return null;
7103
7090
  }
7104
7091
  function RenderNavLinks({
@@ -7108,14 +7095,14 @@ function RenderNavLinks({
7108
7095
  const pathName = usePathname2();
7109
7096
  const index = pathName.split("/", 2).join("/").length;
7110
7097
  const extractPathName = pathName.slice(index).replace("/", "");
7111
- return /* @__PURE__ */ jsx49(Fragment12, { children: items.map((item, index2) => /* @__PURE__ */ jsx49(
7098
+ return /* @__PURE__ */ jsx48(Fragment12, { children: items.map((item, index2) => /* @__PURE__ */ jsx48(
7112
7099
  NavLink,
7113
7100
  {
7114
7101
  active: extractPathName === item.link,
7115
7102
  component: Link3,
7116
7103
  opened: basicAppShellStore.state.groupMenuOpenId.includes(item.label),
7117
7104
  href: `/${pathName.split("/")[1]}/${item.link}` || "#",
7118
- label: /* @__PURE__ */ jsxs28(MyFlexRow, { justify: "space-between", children: [
7105
+ label: /* @__PURE__ */ jsxs27(MyFlexRow, { justify: "space-between", children: [
7119
7106
  item.label,
7120
7107
  " ",
7121
7108
  getRightSection(item.status)
@@ -7127,7 +7114,7 @@ function RenderNavLinks({
7127
7114
  return;
7128
7115
  }
7129
7116
  },
7130
- children: item.links && /* @__PURE__ */ jsx49(RenderNavLinks, { items: item.links })
7117
+ children: item.links && /* @__PURE__ */ jsx48(RenderNavLinks, { items: item.links })
7131
7118
  },
7132
7119
  index2
7133
7120
  )) });
@@ -7250,7 +7237,7 @@ function BasicAppShell({ children, menu, extraTopRight, title }) {
7250
7237
  basicAppShellStore.setProperty("note", linkItem == null ? void 0 : linkItem.note);
7251
7238
  basicAppShellStore.setProperty("status", linkItem == null ? void 0 : linkItem.status);
7252
7239
  }, [pathName]);
7253
- return /* @__PURE__ */ jsxs28(
7240
+ return /* @__PURE__ */ jsxs27(
7254
7241
  AppShell,
7255
7242
  {
7256
7243
  header: { height: 60 },
@@ -7264,80 +7251,80 @@ function BasicAppShell({ children, menu, extraTopRight, title }) {
7264
7251
  },
7265
7252
  padding: "md",
7266
7253
  children: [
7267
- /* @__PURE__ */ jsx49(AppShell.Header, { children: media ? /* @__PURE__ */ jsxs28(Group15, { h: "100%", px: "md", justify: "space-between", align: "center", children: [
7268
- /* @__PURE__ */ jsxs28(Group15, { h: "100%", children: [
7269
- /* @__PURE__ */ jsx49(
7254
+ /* @__PURE__ */ jsx48(AppShell.Header, { children: media ? /* @__PURE__ */ jsxs27(Group14, { h: "100%", px: "md", justify: "space-between", align: "center", children: [
7255
+ /* @__PURE__ */ jsxs27(Group14, { h: "100%", children: [
7256
+ /* @__PURE__ */ jsx48(
7270
7257
  Tooltip5,
7271
7258
  {
7272
7259
  label: basicAppShellStore.state.opened ? "\u1EA8n thanh menu" : "Hi\u1EC7n thanh menu",
7273
- children: /* @__PURE__ */ jsx49(
7260
+ children: /* @__PURE__ */ jsx48(
7274
7261
  ActionIcon11,
7275
7262
  {
7276
7263
  size: "lg",
7277
7264
  radius: "md",
7278
7265
  variant: "default",
7279
7266
  onClick: basicAppShellStore.toggle,
7280
- children: basicAppShellStore.state.opened ? /* @__PURE__ */ jsx49(IconLayoutSidebarLeftExpand, {}) : /* @__PURE__ */ jsx49(IconLayoutSidebarLeftCollapse, {})
7267
+ children: basicAppShellStore.state.opened ? /* @__PURE__ */ jsx48(IconLayoutSidebarLeftExpand, {}) : /* @__PURE__ */ jsx48(IconLayoutSidebarLeftCollapse, {})
7281
7268
  }
7282
7269
  )
7283
7270
  }
7284
7271
  ),
7285
- /* @__PURE__ */ jsx49(Tooltip5, { label: "\u0110\xF3ng t\u1EA5t c\u1EA3 menu", children: /* @__PURE__ */ jsx49(
7272
+ /* @__PURE__ */ jsx48(Tooltip5, { label: "\u0110\xF3ng t\u1EA5t c\u1EA3 menu", children: /* @__PURE__ */ jsx48(
7286
7273
  ActionIcon11,
7287
7274
  {
7288
7275
  size: "lg",
7289
7276
  radius: "md",
7290
7277
  variant: "default",
7291
7278
  onClick: () => basicAppShellStore.clearGroupMenuOpenId(),
7292
- children: /* @__PURE__ */ jsx49(IconLibraryMinus, {})
7279
+ children: /* @__PURE__ */ jsx48(IconLibraryMinus, {})
7293
7280
  }
7294
7281
  ) })
7295
7282
  ] }),
7296
- /* @__PURE__ */ jsx49(
7297
- Group15,
7283
+ /* @__PURE__ */ jsx48(
7284
+ Group14,
7298
7285
  {
7299
7286
  style: {
7300
7287
  position: "absolute",
7301
7288
  left: "50%",
7302
7289
  transform: "translateX(-50%)"
7303
7290
  },
7304
- children: /* @__PURE__ */ jsx49(Text14, { c: "green", fw: "bold", size: "sm", children: title ? title : `${basicAppShellStore.state.moduleCode} - ${basicAppShellStore.state.moduleName}` })
7291
+ children: /* @__PURE__ */ jsx48(Text13, { c: "green", fw: "bold", size: "sm", children: title ? title : `${basicAppShellStore.state.moduleCode} - ${basicAppShellStore.state.moduleName}` })
7305
7292
  }
7306
7293
  ),
7307
- /* @__PURE__ */ jsxs28(Group15, { children: [
7294
+ /* @__PURE__ */ jsxs27(Group14, { children: [
7308
7295
  extraTopRight,
7309
- /* @__PURE__ */ jsx49(MySwitchTheme, {})
7296
+ /* @__PURE__ */ jsx48(MySwitchTheme, {})
7310
7297
  ] })
7311
7298
  ] }) : (
7312
7299
  // For mobile screens - simplified layout
7313
- /* @__PURE__ */ jsxs28(Group15, { h: "100%", px: "md", justify: "space-between", children: [
7314
- /* @__PURE__ */ jsx49(
7300
+ /* @__PURE__ */ jsxs27(Group14, { h: "100%", px: "md", justify: "space-between", children: [
7301
+ /* @__PURE__ */ jsx48(
7315
7302
  ActionIcon11,
7316
7303
  {
7317
7304
  size: "lg",
7318
7305
  radius: "md",
7319
7306
  variant: "default",
7320
7307
  onClick: basicAppShellStore.toggle,
7321
- children: basicAppShellStore.state.opened ? /* @__PURE__ */ jsx49(IconLayoutSidebarLeftExpand, {}) : /* @__PURE__ */ jsx49(IconLayoutSidebarLeftCollapse, {})
7308
+ children: basicAppShellStore.state.opened ? /* @__PURE__ */ jsx48(IconLayoutSidebarLeftExpand, {}) : /* @__PURE__ */ jsx48(IconLayoutSidebarLeftCollapse, {})
7322
7309
  }
7323
7310
  ),
7324
- /* @__PURE__ */ jsx49(Text14, { c: "green", fw: "bold", size: "sm", children: title ? title : `${basicAppShellStore.state.moduleCode} - ${basicAppShellStore.state.moduleName}` }),
7325
- /* @__PURE__ */ jsxs28(Group15, { children: [
7311
+ /* @__PURE__ */ jsx48(Text13, { c: "green", fw: "bold", size: "sm", children: title ? title : `${basicAppShellStore.state.moduleCode} - ${basicAppShellStore.state.moduleName}` }),
7312
+ /* @__PURE__ */ jsxs27(Group14, { children: [
7326
7313
  extraTopRight,
7327
- /* @__PURE__ */ jsx49(MySwitchTheme, {})
7314
+ /* @__PURE__ */ jsx48(MySwitchTheme, {})
7328
7315
  ] })
7329
7316
  ] })
7330
7317
  ) }),
7331
- /* @__PURE__ */ jsxs28(AppShell.Navbar, { children: [
7332
- /* @__PURE__ */ jsx49(MyAppSpotlight, { menu }),
7333
- /* @__PURE__ */ jsxs28(AppShell.Section, { grow: true, component: ScrollArea3, p: 5, children: [
7334
- /* @__PURE__ */ jsx49(RenderNavLinks, { items: menu }),
7335
- /* @__PURE__ */ jsx49(Divider2, {}),
7336
- /* @__PURE__ */ jsx49(F_authenticate_Logout, {})
7318
+ /* @__PURE__ */ jsxs27(AppShell.Navbar, { children: [
7319
+ /* @__PURE__ */ jsx48(MyAppSpotlight, { menu }),
7320
+ /* @__PURE__ */ jsxs27(AppShell.Section, { grow: true, component: ScrollArea3, p: 5, children: [
7321
+ /* @__PURE__ */ jsx48(RenderNavLinks, { items: menu }),
7322
+ /* @__PURE__ */ jsx48(Divider2, {}),
7323
+ /* @__PURE__ */ jsx48(F_authenticate_Logout, {})
7337
7324
  ] }),
7338
- /* @__PURE__ */ jsxs28(AppShell.Section, { p: "md", children: [
7339
- /* @__PURE__ */ jsx49(Divider2, {}),
7340
- /* @__PURE__ */ jsx49(
7325
+ /* @__PURE__ */ jsxs27(AppShell.Section, { p: "md", children: [
7326
+ /* @__PURE__ */ jsx48(Divider2, {}),
7327
+ /* @__PURE__ */ jsx48(
7341
7328
  Image3,
7342
7329
  {
7343
7330
  fit: "contain",
@@ -7351,7 +7338,7 @@ function BasicAppShell({ children, menu, extraTopRight, title }) {
7351
7338
  )
7352
7339
  ] })
7353
7340
  ] }),
7354
- /* @__PURE__ */ jsx49(
7341
+ /* @__PURE__ */ jsx48(
7355
7342
  AppShell.Main,
7356
7343
  {
7357
7344
  bg: "light-dark(var(--mantine-color-gray-1), var(--mantine-color-dark-8))",
@@ -7406,10 +7393,10 @@ function utils_layout_getItemsWithoutLinks(menu) {
7406
7393
 
7407
7394
  // src/components/Layouts/Container/MyContainer.tsx
7408
7395
  import { Container, Flex as Flex3 } from "@mantine/core";
7409
- import { jsx as jsx50 } from "react/jsx-runtime";
7396
+ import { jsx as jsx49 } from "react/jsx-runtime";
7410
7397
  function MyContainer(_a) {
7411
7398
  var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
7412
- return /* @__PURE__ */ jsx50(Container, __spreadProps(__spreadValues({ fluid: true }, rest), { children: /* @__PURE__ */ jsx50(Flex3, { direction: "column", children }) }));
7399
+ return /* @__PURE__ */ jsx49(Container, __spreadProps(__spreadValues({ fluid: true }, rest), { children: /* @__PURE__ */ jsx49(Flex3, { direction: "column", children }) }));
7413
7400
  }
7414
7401
 
7415
7402
  // src/components/Layouts/HeaderMegaMenu/HeaderMegaMenu.tsx
@@ -7420,10 +7407,10 @@ import {
7420
7407
  Container as Container2,
7421
7408
  Divider as Divider3,
7422
7409
  Drawer,
7423
- Group as Group16,
7410
+ Group as Group15,
7424
7411
  Image as Image4,
7425
7412
  ScrollArea as ScrollArea4,
7426
- Text as Text15,
7413
+ Text as Text14,
7427
7414
  TextInput as TextInput3,
7428
7415
  ThemeIcon,
7429
7416
  UnstyledButton,
@@ -7455,7 +7442,7 @@ function useHeaderMegaMenuStore() {
7455
7442
  }
7456
7443
 
7457
7444
  // src/components/Layouts/HeaderMegaMenu/HeaderMegaMenu.tsx
7458
- import { jsx as jsx51, jsxs as jsxs29 } from "react/jsx-runtime";
7445
+ import { jsx as jsx50, jsxs as jsxs28 } from "react/jsx-runtime";
7459
7446
  var mockdata = [
7460
7447
  {
7461
7448
  icon: IconCode,
@@ -7493,27 +7480,27 @@ function HeaderMegaMenu({ children, menus }) {
7493
7480
  const [linksOpened, { toggle: toggleLinks }] = useDisclosure11(false);
7494
7481
  const HeaderMegaMenuStore = useHeaderMegaMenuStore();
7495
7482
  const theme = useMantineTheme();
7496
- const links = mockdata.map((item) => /* @__PURE__ */ jsx51(UnstyledButton, { className: css_default.subLink, children: /* @__PURE__ */ jsxs29(Group16, { wrap: "nowrap", align: "flex-start", children: [
7497
- /* @__PURE__ */ jsx51(ThemeIcon, { size: 34, variant: "default", radius: "md", children: /* @__PURE__ */ jsx51(item.icon, { size: 22, color: theme.colors.blue[6] }) }),
7498
- /* @__PURE__ */ jsxs29("div", { children: [
7499
- /* @__PURE__ */ jsx51(Text15, { size: "sm", fw: 500, children: item.title }),
7500
- /* @__PURE__ */ jsx51(Text15, { size: "xs", c: "dimmed", children: item.description })
7483
+ const links = mockdata.map((item) => /* @__PURE__ */ jsx50(UnstyledButton, { className: css_default.subLink, children: /* @__PURE__ */ jsxs28(Group15, { wrap: "nowrap", align: "flex-start", children: [
7484
+ /* @__PURE__ */ jsx50(ThemeIcon, { size: 34, variant: "default", radius: "md", children: /* @__PURE__ */ jsx50(item.icon, { size: 22, color: theme.colors.blue[6] }) }),
7485
+ /* @__PURE__ */ jsxs28("div", { children: [
7486
+ /* @__PURE__ */ jsx50(Text14, { size: "sm", fw: 500, children: item.title }),
7487
+ /* @__PURE__ */ jsx50(Text14, { size: "xs", c: "dimmed", children: item.description })
7501
7488
  ] })
7502
7489
  ] }) }, item.title));
7503
- return /* @__PURE__ */ jsxs29(Box4, { children: [
7504
- /* @__PURE__ */ jsx51("header", { className: css_default.header, children: /* @__PURE__ */ jsxs29(Group16, { justify: "space-between", h: "100%", children: [
7505
- /* @__PURE__ */ jsxs29(Group16, { children: [
7506
- /* @__PURE__ */ jsx51(Image4, { src: "/imgs/0/IMG0LogoAQTech.png", h: 30, alt: "", w: "auto" }),
7507
- /* @__PURE__ */ jsx51(Group16, { h: "100%", gap: 5, visibleFrom: "sm", children: menus == null ? void 0 : menus.map((item, idx) => /* @__PURE__ */ jsx51(Button14, { component: Link4, href: item.href, variant: HeaderMegaMenuStore.state.name == item.label ? "light" : "subtle", onClick: () => HeaderMegaMenuStore.setState({ name: item.label }), children: item.label }, idx)) })
7490
+ return /* @__PURE__ */ jsxs28(Box4, { children: [
7491
+ /* @__PURE__ */ jsx50("header", { className: css_default.header, children: /* @__PURE__ */ jsxs28(Group15, { justify: "space-between", h: "100%", children: [
7492
+ /* @__PURE__ */ jsxs28(Group15, { children: [
7493
+ /* @__PURE__ */ jsx50(Image4, { src: "/imgs/0/IMG0LogoAQTech.png", h: 30, alt: "", w: "auto" }),
7494
+ /* @__PURE__ */ jsx50(Group15, { h: "100%", gap: 5, visibleFrom: "sm", children: menus == null ? void 0 : menus.map((item, idx) => /* @__PURE__ */ jsx50(Button14, { component: Link4, href: item.href, variant: HeaderMegaMenuStore.state.name == item.label ? "light" : "subtle", onClick: () => HeaderMegaMenuStore.setState({ name: item.label }), children: item.label }, idx)) })
7508
7495
  ] }),
7509
- /* @__PURE__ */ jsxs29(Group16, { children: [
7510
- /* @__PURE__ */ jsx51(TextInput3, { placeholder: "T\xECm ki\u1EBFm", leftSection: /* @__PURE__ */ jsx51(IconSearch2, {}), radius: "xl", w: "250px" }),
7511
- /* @__PURE__ */ jsx51(MySwitchTheme, {})
7496
+ /* @__PURE__ */ jsxs28(Group15, { children: [
7497
+ /* @__PURE__ */ jsx50(TextInput3, { placeholder: "T\xECm ki\u1EBFm", leftSection: /* @__PURE__ */ jsx50(IconSearch2, {}), radius: "xl", w: "250px" }),
7498
+ /* @__PURE__ */ jsx50(MySwitchTheme, {})
7512
7499
  ] }),
7513
- /* @__PURE__ */ jsx51(Burger, { opened: drawerOpened, onClick: toggleDrawer, hiddenFrom: "sm" })
7500
+ /* @__PURE__ */ jsx50(Burger, { opened: drawerOpened, onClick: toggleDrawer, hiddenFrom: "sm" })
7514
7501
  ] }) }),
7515
- /* @__PURE__ */ jsx51(Container2, { fluid: true, pt: "sm", pb: "md", bg: const_object_colors.mantineBackgroundSecondary, mih: "93vh", children }),
7516
- /* @__PURE__ */ jsx51(
7502
+ /* @__PURE__ */ jsx50(Container2, { fluid: true, pt: "sm", pb: "md", bg: const_object_colors.mantineBackgroundSecondary, mih: "93vh", children }),
7503
+ /* @__PURE__ */ jsx50(
7517
7504
  Drawer,
7518
7505
  {
7519
7506
  opened: drawerOpened,
@@ -7523,10 +7510,10 @@ function HeaderMegaMenu({ children, menus }) {
7523
7510
  title: "Navigation",
7524
7511
  hiddenFrom: "sm",
7525
7512
  zIndex: 1e6,
7526
- children: /* @__PURE__ */ jsxs29(ScrollArea4, { h: "calc(100vh - 80px", mx: "-md", children: [
7527
- /* @__PURE__ */ jsx51(Divider3, { my: "sm" }),
7528
- /* @__PURE__ */ jsx51(MyFlexColumn, { h: "100%", gap: 0, children: menus == null ? void 0 : menus.map((item, idx) => /* @__PURE__ */ jsx51(Button14, { component: Link4, href: item.href, variant: HeaderMegaMenuStore.state.name == item.label ? "light" : "subtle", onClick: () => HeaderMegaMenuStore.setState({ name: item.label }), children: item.label }, idx)) }),
7529
- /* @__PURE__ */ jsx51(Divider3, { my: "sm" })
7513
+ children: /* @__PURE__ */ jsxs28(ScrollArea4, { h: "calc(100vh - 80px", mx: "-md", children: [
7514
+ /* @__PURE__ */ jsx50(Divider3, { my: "sm" }),
7515
+ /* @__PURE__ */ jsx50(MyFlexColumn, { h: "100%", gap: 0, children: menus == null ? void 0 : menus.map((item, idx) => /* @__PURE__ */ jsx50(Button14, { component: Link4, href: item.href, variant: HeaderMegaMenuStore.state.name == item.label ? "light" : "subtle", onClick: () => HeaderMegaMenuStore.setState({ name: item.label }), children: item.label }, idx)) }),
7516
+ /* @__PURE__ */ jsx50(Divider3, { my: "sm" })
7530
7517
  ] })
7531
7518
  }
7532
7519
  )
@@ -7534,8 +7521,8 @@ function HeaderMegaMenu({ children, menus }) {
7534
7521
  }
7535
7522
 
7536
7523
  // src/components/Layouts/PageContent/MyPageContent.tsx
7537
- import { Badge as Badge4, Breadcrumbs, Code, Container as Container3, Divider as Divider4, Group as Group17, Text as Text16, Title } from "@mantine/core";
7538
- import { jsx as jsx52, jsxs as jsxs30 } from "react/jsx-runtime";
7524
+ import { Badge as Badge4, Breadcrumbs, Code, Container as Container3, Divider as Divider4, Group as Group16, Text as Text15, Title } from "@mantine/core";
7525
+ import { jsx as jsx51, jsxs as jsxs29 } from "react/jsx-runtime";
7539
7526
  var getStatusColor = (status) => {
7540
7527
  switch (status) {
7541
7528
  case "Prototype":
@@ -7546,10 +7533,10 @@ var getStatusColor = (status) => {
7546
7533
  };
7547
7534
  function PageTitle({ title, status, note }) {
7548
7535
  const color = getStatusColor(status);
7549
- return /* @__PURE__ */ jsx52(Group17, { children: /* @__PURE__ */ jsxs30(MyFlexColumn, { gap: 0, children: [
7550
- /* @__PURE__ */ jsxs30(Group17, { align: "center", children: [
7551
- /* @__PURE__ */ jsx52(Title, { order: 3, children: title }),
7552
- status && /* @__PURE__ */ jsx52(
7536
+ return /* @__PURE__ */ jsx51(Group16, { children: /* @__PURE__ */ jsxs29(MyFlexColumn, { gap: 0, children: [
7537
+ /* @__PURE__ */ jsxs29(Group16, { align: "center", children: [
7538
+ /* @__PURE__ */ jsx51(Title, { order: 3, children: title }),
7539
+ status && /* @__PURE__ */ jsx51(
7553
7540
  Badge4,
7554
7541
  {
7555
7542
  variant: "gradient",
@@ -7560,7 +7547,7 @@ function PageTitle({ title, status, note }) {
7560
7547
  }
7561
7548
  )
7562
7549
  ] }),
7563
- /* @__PURE__ */ jsx52(Text16, { size: "lg", c: "dimmed", fs: "italic", children: note })
7550
+ /* @__PURE__ */ jsx51(Text15, { size: "lg", c: "dimmed", fs: "italic", children: note })
7564
7551
  ] }) });
7565
7552
  }
7566
7553
  function MyPageContent({
@@ -7573,11 +7560,11 @@ function MyPageContent({
7573
7560
  var _a;
7574
7561
  const basicAppShellStore = useS_BasicAppShell();
7575
7562
  const finalTitle = title || basicAppShellStore.state.title;
7576
- return /* @__PURE__ */ jsxs30(Container3, { p: 0, fluid: true, children: [
7577
- /* @__PURE__ */ jsxs30(Group17, { justify: "space-between", children: [
7578
- /* @__PURE__ */ jsxs30(Group17, { children: [
7579
- /* @__PURE__ */ jsx52(MyButtonRouterBack, {}),
7580
- /* @__PURE__ */ jsx52(
7563
+ return /* @__PURE__ */ jsxs29(Container3, { p: 0, fluid: true, children: [
7564
+ /* @__PURE__ */ jsxs29(Group16, { justify: "space-between", children: [
7565
+ /* @__PURE__ */ jsxs29(Group16, { children: [
7566
+ /* @__PURE__ */ jsx51(MyButtonRouterBack, {}),
7567
+ /* @__PURE__ */ jsx51(
7581
7568
  PageTitle,
7582
7569
  {
7583
7570
  title: finalTitle,
@@ -7587,64 +7574,64 @@ function MyPageContent({
7587
7574
  ),
7588
7575
  leftTopBar
7589
7576
  ] }),
7590
- /* @__PURE__ */ jsxs30(Group17, { p: "md", children: [
7577
+ /* @__PURE__ */ jsxs29(Group16, { p: "md", children: [
7591
7578
  rightTopBar,
7592
- /* @__PURE__ */ jsx52(Breadcrumbs, { separatorMargin: "7", children: (_a = basicAppShellStore.state.breadcrumb) == null ? void 0 : _a.map((item, idx) => /* @__PURE__ */ jsx52(Text16, { fw: "600", c: "blue", children: item }, idx)) })
7579
+ /* @__PURE__ */ jsx51(Breadcrumbs, { separatorMargin: "7", children: (_a = basicAppShellStore.state.breadcrumb) == null ? void 0 : _a.map((item, idx) => /* @__PURE__ */ jsx51(Text15, { fw: "600", c: "blue", children: item }, idx)) })
7593
7580
  ] })
7594
7581
  ] }),
7595
- /* @__PURE__ */ jsx52(Divider4, { my: "xs" }),
7582
+ /* @__PURE__ */ jsx51(Divider4, { my: "xs" }),
7596
7583
  children,
7597
- /* @__PURE__ */ jsx52(Divider4, { my: "xs" }),
7598
- /* @__PURE__ */ jsx52(MyFlexEnd, { children: /* @__PURE__ */ jsx52(Code, { color: "var(--mantine-color-blue-light)", children: basicAppShellStore.state.menuCode }) })
7584
+ /* @__PURE__ */ jsx51(Divider4, { my: "xs" }),
7585
+ /* @__PURE__ */ jsx51(MyFlexEnd, { children: /* @__PURE__ */ jsx51(Code, { color: "var(--mantine-color-blue-light)", children: basicAppShellStore.state.menuCode }) })
7599
7586
  ] });
7600
7587
  }
7601
7588
 
7602
7589
  // src/components/Layouts/Tab/MyTab.tsx
7603
7590
  import { rem, Space as Space3, Tabs } from "@mantine/core";
7604
- import { jsx as jsx53, jsxs as jsxs31 } from "react/jsx-runtime";
7591
+ import { jsx as jsx52, jsxs as jsxs30 } from "react/jsx-runtime";
7605
7592
  function MyTab(_a) {
7606
7593
  var _b = _a, { tabList, children } = _b, rest = __objRest(_b, ["tabList", "children"]);
7607
7594
  const iconStyle = { width: rem(20), height: rem(20) };
7608
- return /* @__PURE__ */ jsxs31(Tabs, __spreadProps(__spreadValues({ defaultValue: tabList[0].label }, rest), { children: [
7609
- /* @__PURE__ */ jsx53(Tabs.List, { children: tabList.map((item, idx) => {
7610
- return /* @__PURE__ */ jsx53(Tabs.Tab, { value: item.label, leftSection: item.icon && /* @__PURE__ */ jsx53(item.icon, { style: iconStyle }), children: item.label }, idx);
7595
+ return /* @__PURE__ */ jsxs30(Tabs, __spreadProps(__spreadValues({ defaultValue: tabList[0].label }, rest), { children: [
7596
+ /* @__PURE__ */ jsx52(Tabs.List, { children: tabList.map((item, idx) => {
7597
+ return /* @__PURE__ */ jsx52(Tabs.Tab, { value: item.label, leftSection: item.icon && /* @__PURE__ */ jsx52(item.icon, { style: iconStyle }), children: item.label }, idx);
7611
7598
  }) }),
7612
- /* @__PURE__ */ jsx53(Space3, { my: "md" }),
7599
+ /* @__PURE__ */ jsx52(Space3, { my: "md" }),
7613
7600
  children
7614
7601
  ] }));
7615
7602
  }
7616
7603
 
7617
7604
  // src/components/RESTAPIComponents/DataTableSelect/MyDataTableSelect.tsx
7618
- import { ActionIcon as ActionIcon12, Button as Button15, Fieldset as Fieldset5, Group as Group18, Modal as Modal11 } from "@mantine/core";
7605
+ import { ActionIcon as ActionIcon12, Button as Button15, Fieldset as Fieldset5, Group as Group17, Modal as Modal11 } from "@mantine/core";
7619
7606
  import { useDisclosure as useDisclosure12 } from "@mantine/hooks";
7620
7607
  import { IconX as IconX2 } from "@tabler/icons-react";
7621
- import { jsx as jsx54, jsxs as jsxs32 } from "react/jsx-runtime";
7608
+ import { jsx as jsx53, jsxs as jsxs31 } from "react/jsx-runtime";
7622
7609
  function MyDataTableSelect(_a) {
7623
7610
  var _b = _a, { modalSize, renderTopToolbarCustomActions, data, selectButtonlabel, listState, columns, listLabel } = _b, rest = __objRest(_b, ["modalSize", "renderTopToolbarCustomActions", "data", "selectButtonlabel", "listState", "columns", "listLabel"]);
7624
7611
  const disc = useDisclosure12(false);
7625
7612
  if (data == void 0) return "\u0110ang t\u1EA3i...";
7626
- return /* @__PURE__ */ jsxs32(Fieldset5, { legend: listLabel ? listLabel : "Danh s\xE1ch", children: [
7627
- /* @__PURE__ */ jsx54(
7613
+ return /* @__PURE__ */ jsxs31(Fieldset5, { legend: listLabel ? listLabel : "Danh s\xE1ch", children: [
7614
+ /* @__PURE__ */ jsx53(
7628
7615
  MyDataTable,
7629
7616
  __spreadValues({
7630
7617
  renderTopToolbarCustomActions: ({ table }) => {
7631
- return /* @__PURE__ */ jsxs32(Group18, { children: [
7618
+ return /* @__PURE__ */ jsxs31(Group17, { children: [
7632
7619
  renderTopToolbarCustomActions && renderTopToolbarCustomActions({ table }),
7633
- /* @__PURE__ */ jsx54(Button15, { onClick: disc[1].open, children: selectButtonlabel || "Ch\u1ECDn t\u1EEB danh s\xE1ch" })
7620
+ /* @__PURE__ */ jsx53(Button15, { onClick: disc[1].open, children: selectButtonlabel || "Ch\u1ECDn t\u1EEB danh s\xE1ch" })
7634
7621
  ] });
7635
7622
  },
7636
7623
  columns,
7637
7624
  data: listState[0],
7638
7625
  renderRowActions: ({ row }) => {
7639
- return /* @__PURE__ */ jsx54(MyCenterFull, { children: /* @__PURE__ */ jsx54(ActionIcon12, { color: "red", onClick: () => listState[1].remove(row.index), children: /* @__PURE__ */ jsx54(IconX2, {}) }) });
7626
+ return /* @__PURE__ */ jsx53(MyCenterFull, { children: /* @__PURE__ */ jsx53(ActionIcon12, { color: "red", onClick: () => listState[1].remove(row.index), children: /* @__PURE__ */ jsx53(IconX2, {}) }) });
7640
7627
  }
7641
7628
  }, rest)
7642
7629
  ),
7643
- /* @__PURE__ */ jsx54(Modal11, { opened: disc[0], onClose: disc[1].close, size: modalSize || "80%", children: /* @__PURE__ */ jsx54(
7630
+ /* @__PURE__ */ jsx53(Modal11, { opened: disc[0], onClose: disc[1].close, size: modalSize || "80%", children: /* @__PURE__ */ jsx53(
7644
7631
  MyDataTable,
7645
7632
  __spreadValues({
7646
7633
  renderTopToolbarCustomActions: ({ table }) => {
7647
- return /* @__PURE__ */ jsx54(Button15, { onClick: () => {
7634
+ return /* @__PURE__ */ jsx53(Button15, { onClick: () => {
7648
7635
  table.getSelectedRowModel().rows.map((item) => listState[1].append(item.original));
7649
7636
  disc[1].close();
7650
7637
  }, children: "Ch\u1ECDn" });
@@ -7660,7 +7647,7 @@ function MyDataTableSelect(_a) {
7660
7647
  // src/components/RESTAPIComponents/SelectAPIGet/MySelectAPIGet.tsx
7661
7648
  import { Select as Select3 } from "@mantine/core";
7662
7649
  import { useQuery as useQuery2 } from "@tanstack/react-query";
7663
- import { jsx as jsx55 } from "react/jsx-runtime";
7650
+ import { jsx as jsx54 } from "react/jsx-runtime";
7664
7651
  function MySelectAPIGet(_a) {
7665
7652
  var _b = _a, { apiGet, label = "", dataMapper } = _b, rest = __objRest(_b, ["apiGet", "label", "dataMapper"]);
7666
7653
  var _a2;
@@ -7679,7 +7666,7 @@ function MySelectAPIGet(_a) {
7679
7666
  label: `${item.code}-${item.name}`
7680
7667
  };
7681
7668
  });
7682
- return /* @__PURE__ */ jsx55(
7669
+ return /* @__PURE__ */ jsx54(
7683
7670
  Select3,
7684
7671
  __spreadValues({
7685
7672
  label,
@@ -7694,7 +7681,7 @@ import { useNextCalendarApp as useNextCalendarApp2, ScheduleXCalendar as Schedul
7694
7681
  import { createEventsServicePlugin as createEventsServicePlugin2 } from "@schedule-x/events-service";
7695
7682
  import { useState as useState11 } from "react";
7696
7683
  import { createEventModalPlugin as createEventModalPlugin2 } from "@schedule-x/event-modal";
7697
- import { jsx as jsx56 } from "react/jsx-runtime";
7684
+ import { jsx as jsx55 } from "react/jsx-runtime";
7698
7685
  function MyScheduleX({
7699
7686
  values,
7700
7687
  timeGridEvent,
@@ -7719,7 +7706,7 @@ function MyScheduleX({
7719
7706
  events: values,
7720
7707
  plugins: [eventsService, eventModalPlugin]
7721
7708
  });
7722
- return /* @__PURE__ */ jsx56(
7709
+ return /* @__PURE__ */ jsx55(
7723
7710
  ScheduleXCalendar2,
7724
7711
  {
7725
7712
  calendarApp: calendar,
@@ -7733,9 +7720,9 @@ function MyScheduleX({
7733
7720
 
7734
7721
  // src/components/Skeletons/SkeletonTable/MySkeletonTable.tsx
7735
7722
  import { Skeleton } from "@mantine/core";
7736
- import { jsx as jsx57 } from "react/jsx-runtime";
7723
+ import { jsx as jsx56 } from "react/jsx-runtime";
7737
7724
  function MySkeletonTable({ h: h4 = 500 }) {
7738
- return /* @__PURE__ */ jsx57(Skeleton, { h: h4 });
7725
+ return /* @__PURE__ */ jsx56(Skeleton, { h: h4 });
7739
7726
  }
7740
7727
 
7741
7728
  export {
@@ -7779,7 +7766,6 @@ export {
7779
7766
  AQCard,
7780
7767
  MyCardInformation,
7781
7768
  MyIconText,
7782
- MyKeyLabel,
7783
7769
  MyNumberFormatter,
7784
7770
  AQStatCard1,
7785
7771
  useS_BasicAppShell,
@@ -180,7 +180,7 @@ interface IFieldConfig extends IUtils_Excel_ColumnConfig<any> {
180
180
  isSelected?: boolean;
181
181
  fieldToMap?: string;
182
182
  }
183
- interface I$7 {
183
+ interface I$6 {
184
184
  file?: File | null;
185
185
  title?: string[];
186
186
  data?: any[];
@@ -195,9 +195,9 @@ declare function useS_ButtonImport(): {
195
195
  getDataFinal: <T>() => T[];
196
196
  changeAllSelected: (isSelected: boolean) => void;
197
197
  autoMap: () => void;
198
- state: I$7;
199
- setState: (newState: I$7) => void;
200
- setProperty: <K extends keyof I$7>(key: K, value: I$7[K]) => void;
198
+ state: I$6;
199
+ setState: (newState: I$6) => void;
200
+ setProperty: <K extends keyof I$6>(key: K, value: I$6[K]) => void;
201
201
  resetState: () => void;
202
202
  };
203
203
 
@@ -216,11 +216,11 @@ interface IAQSelectTableByOpenModal<TData extends MRT_RowData> extends Omit<MRT_
216
216
  }
217
217
  declare function AQSelectTableByOpenModal<TData extends MRT_RowData>({ setSelectedData, data, columns, API, modalSize, title, label, listLabel, objectName, fullScreen, closeAfterSelect, ...rest }: IAQSelectTableByOpenModal<TData>): react_jsx_runtime.JSX.Element;
218
218
 
219
- interface I$6 extends ButtonProps {
219
+ interface I$5 extends ButtonProps {
220
220
  contentToPrint?: ReactNode;
221
221
  children?: ReactNode;
222
222
  }
223
- declare function MyButtonPrintPDF({ contentToPrint, children, ...rest }: I$6): react_jsx_runtime.JSX.Element;
223
+ declare function MyButtonPrintPDF({ contentToPrint, children, ...rest }: I$5): react_jsx_runtime.JSX.Element;
224
224
 
225
225
  interface FieldConfig {
226
226
  fieldName: string;
@@ -262,9 +262,9 @@ declare function MyCenterFull({ children }: {
262
262
  children: ReactNode;
263
263
  }): react_jsx_runtime.JSX.Element;
264
264
 
265
- interface I$5 extends CheckboxProps {
265
+ interface I$4 extends CheckboxProps {
266
266
  }
267
- declare function MyCheckbox({ ...rest }: I$5): react_jsx_runtime.JSX.Element;
267
+ declare function MyCheckbox({ ...rest }: I$4): react_jsx_runtime.JSX.Element;
268
268
 
269
269
  interface IMySelect extends SelectProps {
270
270
  label?: string;
@@ -330,12 +330,6 @@ interface MyIconTextProps {
330
330
  }
331
331
  declare function MyIconText({ icon: Icon, text }: MyIconTextProps): react_jsx_runtime.JSX.Element;
332
332
 
333
- interface I$4 {
334
- keyLabel?: string;
335
- label?: string;
336
- }
337
- declare function MyKeyLabel({ keyLabel, label }: I$4): react_jsx_runtime.JSX.Element;
338
-
339
333
  interface I$3 extends NumberFormatterProps {
340
334
  }
341
335
  declare function MyNumberFormatter({ ...rest }: I$3): react_jsx_runtime.JSX.Element;
@@ -535,4 +529,4 @@ interface IMySkeletonTable extends SkeletonProps {
535
529
  }
536
530
  declare function MySkeletonTable({ h }: IMySkeletonTable): react_jsx_runtime.JSX.Element;
537
531
 
538
- export { AQButtonCreateByImportFile, AQButtonExportData, AQCard, AQSelectTableByOpenModal, AQStatCard1, Boxes, FaviconSetter, HeaderMegaMenu, type IAQCardProps, type IMyTextEditor, I_BasicAppShell_LinkItem, MyActionIcon, MyActionIconCheck, MyActionIconDelete, MyActionIconDownloadPDF, MyActionIconModal, MyActionIconUpdate, MyActionIconUpload, MyActionIconViewPDF, MyAnchorViewPDF, MyAppSpotlight, MyBoxesBackground, MyBoxesCore, MyButton, MyButtonCreate, MyButtonDeleteList, MyButtonImport, MyButtonModal, MyButtonPrintPDF, MyButtonPrintTablePDF, MyButtonRouterBack, MyButtonViewPDF, MyCalendar, MyCardInformation, MyCardioLoader, MyCenterFull, MyCheckbox, MyContainer, MyDataTable, type MyDataTableInternalProps, type MyDataTableProps, MyDataTableSelect, MyDateInput, MyFieldset, MyFileInput, MyFlexColumn, MyFlexEnd, MyFlexRow, MyHtmlWrapper, MyIconText, MyKeyLabel, MyNumberFormatter, MyNumberInput, MyPageContent, MyScheduleX, MySelect, MySelectAPIGet, MySkeletonTable, MySwitchTheme, MyTab, MyTextArea, MyTextEditor, MyTextInput, SelectFieldModal, SelectFileModal, type SelectFileModalProps, useHeaderMegaMenuStore, useS_BasicAppShell, useS_ButtonImport };
532
+ export { AQButtonCreateByImportFile, AQButtonExportData, AQCard, AQSelectTableByOpenModal, AQStatCard1, Boxes, FaviconSetter, HeaderMegaMenu, type IAQCardProps, type IMyTextEditor, I_BasicAppShell_LinkItem, MyActionIcon, MyActionIconCheck, MyActionIconDelete, MyActionIconDownloadPDF, MyActionIconModal, MyActionIconUpdate, MyActionIconUpload, MyActionIconViewPDF, MyAnchorViewPDF, MyAppSpotlight, MyBoxesBackground, MyBoxesCore, MyButton, MyButtonCreate, MyButtonDeleteList, MyButtonImport, MyButtonModal, MyButtonPrintPDF, MyButtonPrintTablePDF, MyButtonRouterBack, MyButtonViewPDF, MyCalendar, MyCardInformation, MyCardioLoader, MyCenterFull, MyCheckbox, MyContainer, MyDataTable, type MyDataTableInternalProps, type MyDataTableProps, MyDataTableSelect, MyDateInput, MyFieldset, MyFileInput, MyFlexColumn, MyFlexEnd, MyFlexRow, MyHtmlWrapper, MyIconText, MyNumberFormatter, MyNumberInput, MyPageContent, MyScheduleX, MySelect, MySelectAPIGet, MySkeletonTable, MySwitchTheme, MyTab, MyTextArea, MyTextEditor, MyTextInput, SelectFieldModal, SelectFileModal, type SelectFileModalProps, useHeaderMegaMenuStore, useS_BasicAppShell, useS_ButtonImport };
@@ -43,7 +43,6 @@ import {
43
43
  MyFlexEnd,
44
44
  MyHtmlWrapper,
45
45
  MyIconText,
46
- MyKeyLabel,
47
46
  MyNumberFormatter,
48
47
  MyNumberInput,
49
48
  MyPageContent,
@@ -63,7 +62,7 @@ import {
63
62
  useS_BasicAppShell,
64
63
  useS_ButtonImport,
65
64
  utils_layout_getItemsWithoutLinks
66
- } from "../chunk-FAG4PGP2.mjs";
65
+ } from "../chunk-WSWTPIEG.mjs";
67
66
  import "../chunk-Y3YGC5IH.mjs";
68
67
  import "../chunk-5U2JSHSJ.mjs";
69
68
  import {
@@ -123,7 +122,6 @@ export {
123
122
  MyFlexRow,
124
123
  MyHtmlWrapper,
125
124
  MyIconText,
126
- MyKeyLabel,
127
125
  MyNumberFormatter,
128
126
  MyNumberInput,
129
127
  MyPageContent,
@@ -60,7 +60,7 @@ interface LabelValueRowProps {
60
60
  valueProps?: TextProps;
61
61
  groupProps?: GroupProps;
62
62
  }
63
- declare const MyLabelValueRow: ({ label, value, labelProps, valueProps, groupProps }: LabelValueRowProps) => react_jsx_runtime.JSX.Element;
63
+ declare function MyLabelValueRow({ label, value, labelProps, valueProps, groupProps }: LabelValueRowProps): react_jsx_runtime.JSX.Element;
64
64
 
65
65
  interface CoreDayOfWeekPickerProps {
66
66
  value?: number[];
@@ -8,7 +8,7 @@ import {
8
8
  MyLabelValueRow,
9
9
  MyTextInput,
10
10
  MyWeeklySessionSchedulerPicker
11
- } from "../chunk-FII3IZXA.mjs";
11
+ } from "../chunk-WEZ3M7EQ.mjs";
12
12
  import "../chunk-GEYCGM75.mjs";
13
13
  import "../chunk-NWBLJ3W3.mjs";
14
14
  import "../chunk-K6S7R6LU.mjs";
@@ -2,6 +2,10 @@ import { I as IBaseEntity } from '../base-BprRafT5.mjs';
2
2
  export { I as IEmailConfig } from '../EmailConfig-DvTXTBt3.mjs';
3
3
  export { I as IAQModule } from '../IAQModule-CCtwv-e0.mjs';
4
4
 
5
+ interface IPageContent extends IBaseEntity {
6
+ description?: string;
7
+ }
8
+
5
9
  interface IFile {
6
10
  fileName?: string | undefined;
7
11
  fileExtension?: string | undefined;
@@ -51,8 +55,4 @@ interface IUser extends IBaseEntity {
51
55
  email?: string;
52
56
  }
53
57
 
54
- interface IPageContent extends IBaseEntity {
55
- description?: string;
56
- }
57
-
58
58
  export { IBaseEntity, type IDocument, type IFile, type IPageContent, type IPagePermission, type IRole, type IUser };
@@ -33,7 +33,7 @@ import {
33
33
  groupToTwoLevels,
34
34
  useS_authenticate,
35
35
  utils_layout_getItemsWithoutLinks
36
- } from "../chunk-FAG4PGP2.mjs";
36
+ } from "../chunk-WSWTPIEG.mjs";
37
37
  import {
38
38
  createGenericStore
39
39
  } from "../chunk-Y3YGC5IH.mjs";
@@ -45,7 +45,7 @@ import {
45
45
  MyButton as MyButton2,
46
46
  MyDataTableSelectOne,
47
47
  MyTextInput as MyTextInput2
48
- } from "../chunk-FII3IZXA.mjs";
48
+ } from "../chunk-WEZ3M7EQ.mjs";
49
49
  import {
50
50
  MyDataTable,
51
51
  MyFlexColumn,
package/package.json CHANGED
@@ -42,7 +42,7 @@
42
42
  "types": "./dist/columns/index.d.mts"
43
43
  }
44
44
  },
45
- "version": "0.1.328",
45
+ "version": "0.1.330",
46
46
  "private": false,
47
47
  "files": [
48
48
  "dist"