aq-fe-framework 0.1.146 → 0.1.148

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.
@@ -597,24 +597,29 @@ function MyActionIconViewPDF(_a) {
597
597
  }
598
598
 
599
599
  // src/components/ActionIcons/SwitchTheme/MySwitchTheme.tsx
600
+ import { useEffect as useEffect3, useState as useState4 } from "react";
600
601
  import { ActionIcon as ActionIcon7, useComputedColorScheme, useMantineColorScheme } from "@mantine/core";
601
602
  import { IconMoon, IconSun } from "@tabler/icons-react";
602
- import { jsx as jsx15, jsxs as jsxs7 } from "react/jsx-runtime";
603
+ import { jsx as jsx15 } from "react/jsx-runtime";
603
604
  function MySwitchTheme() {
604
- const { setColorScheme, colorScheme } = useMantineColorScheme();
605
- const computedColorScheme = useComputedColorScheme("light", { getInitialValueInEffect: true });
606
- return /* @__PURE__ */ jsxs7(
605
+ const { setColorScheme } = useMantineColorScheme();
606
+ const computedColorScheme = useComputedColorScheme("light", {
607
+ getInitialValueInEffect: true
608
+ });
609
+ const [mounted, setMounted] = useState4(false);
610
+ useEffect3(() => {
611
+ setMounted(true);
612
+ }, []);
613
+ if (!mounted) return null;
614
+ return /* @__PURE__ */ jsx15(
607
615
  ActionIcon7,
608
616
  {
609
617
  onClick: () => setColorScheme(computedColorScheme === "light" ? "dark" : "light"),
610
618
  variant: "default",
611
619
  size: "lg",
612
620
  radius: "md",
613
- "aria-label": "Toggle color scheme ",
614
- children: [
615
- colorScheme == "dark" && /* @__PURE__ */ jsx15(IconSun, { width: "22px", height: "22px", stroke: 1.5 }),
616
- colorScheme == "light" && /* @__PURE__ */ jsx15(IconMoon, { width: "22px", height: "22px", stroke: 1.5 })
617
- ]
621
+ "aria-label": "Toggle color scheme",
622
+ children: computedColorScheme === "dark" ? /* @__PURE__ */ jsx15(IconSun, { width: "22px", height: "22px", stroke: 1.5 }) : /* @__PURE__ */ jsx15(IconMoon, { width: "22px", height: "22px", stroke: 1.5 })
618
623
  }
619
624
  );
620
625
  }
@@ -623,7 +628,7 @@ function MySwitchTheme() {
623
628
  import { Spotlight, spotlight } from "@mantine/spotlight";
624
629
  import { IconSearch } from "@tabler/icons-react";
625
630
  import { usePathname, useRouter } from "next/navigation";
626
- import { useMemo, useState as useState4 } from "react";
631
+ import { useMemo, useState as useState5 } from "react";
627
632
 
628
633
  // src/components/Layouts/BasicAppShell/useS_BasicAppShell.ts
629
634
  var useStore = createGenericStore({
@@ -672,7 +677,7 @@ function useS_BasicAppShell() {
672
677
  }
673
678
 
674
679
  // src/components/AppSpotlight/MyAppSpotlight.tsx
675
- import { jsx as jsx16, jsxs as jsxs8 } from "react/jsx-runtime";
680
+ import { jsx as jsx16, jsxs as jsxs7 } from "react/jsx-runtime";
676
681
  function convertMenuToSpotlightActions(items, router, parentPath = "", sideBarStore, pathName) {
677
682
  let actions = [];
678
683
  items.forEach((item) => {
@@ -707,7 +712,7 @@ function convertMenuToSpotlightActions(items, router, parentPath = "", sideBarSt
707
712
  return actions;
708
713
  }
709
714
  function MyAppSpotlight({ menu }) {
710
- const [query, setQuery] = useState4("");
715
+ const [query, setQuery] = useState5("");
711
716
  const router = useRouter();
712
717
  const pathName = usePathname();
713
718
  const basicAppShellStore = useS_BasicAppShell();
@@ -735,7 +740,7 @@ function MyAppSpotlight({ menu }) {
735
740
  );
736
741
  }
737
742
  function SpotlightTrigger() {
738
- return /* @__PURE__ */ jsxs8(
743
+ return /* @__PURE__ */ jsxs7(
739
744
  "button",
740
745
  {
741
746
  onClick: spotlight.open,
@@ -759,13 +764,13 @@ function SpotlightTrigger() {
759
764
  import { ActionIcon as ActionIcon8, Anchor, Group as Group3, Modal as Modal4, Paper as Paper2, Text as Text4 } from "@mantine/core";
760
765
  import { useDisclosure as useDisclosure5 } from "@mantine/hooks";
761
766
  import { IconMaximize as IconMaximize2, IconMinimize as IconMinimize2 } from "@tabler/icons-react";
762
- import { useState as useState5 } from "react";
763
- import { Fragment as Fragment4, jsx as jsx17, jsxs as jsxs9 } from "react/jsx-runtime";
767
+ import { useState as useState6 } from "react";
768
+ import { Fragment as Fragment4, jsx as jsx17, jsxs as jsxs8 } from "react/jsx-runtime";
764
769
  function MyAnchorViewPDF({ label, pdfLink }) {
765
770
  const disc = useDisclosure5(false);
766
- const fullScreen = useState5(false);
767
- const hSize = useState5("80vh");
768
- return /* @__PURE__ */ jsxs9(Fragment4, { children: [
771
+ const fullScreen = useState6(false);
772
+ const hSize = useState6("80vh");
773
+ return /* @__PURE__ */ jsxs8(Fragment4, { children: [
769
774
  /* @__PURE__ */ jsx17(Anchor, { onClick: disc[1].open, children: label }),
770
775
  /* @__PURE__ */ jsx17(
771
776
  Modal4,
@@ -774,7 +779,7 @@ function MyAnchorViewPDF({ label, pdfLink }) {
774
779
  opened: disc[0],
775
780
  onClose: disc[1].close,
776
781
  size: "80%",
777
- title: /* @__PURE__ */ jsxs9(Group3, { children: [
782
+ title: /* @__PURE__ */ jsxs8(Group3, { children: [
778
783
  /* @__PURE__ */ jsx17(Text4, { children: "Xem t\xE0i li\u1EC7u tr\u1EF1c ti\u1EBFp" }),
779
784
  fullScreen[0] ? /* @__PURE__ */ jsx17(
780
785
  ActionIcon8,
@@ -812,7 +817,7 @@ import * as XLSX from "xlsx";
812
817
  // src/components/Buttons/ButtonModal/MyButtonModal.tsx
813
818
  import { Button as Button3, Modal as Modal5 } from "@mantine/core";
814
819
  import { IconEdit as IconEdit4, IconPlus as IconPlus4, IconTrash as IconTrash4 } from "@tabler/icons-react";
815
- import { Fragment as Fragment5, jsx as jsx18, jsxs as jsxs10 } from "react/jsx-runtime";
820
+ import { Fragment as Fragment5, jsx as jsx18, jsxs as jsxs9 } from "react/jsx-runtime";
816
821
  function MyButtonModal(_a) {
817
822
  var _b = _a, {
818
823
  fullScreen = false,
@@ -835,7 +840,7 @@ function MyButtonModal(_a) {
835
840
  ]);
836
841
  const objectNameLower = objectName == null ? void 0 : objectName.toLowerCase();
837
842
  if (crudType == "default") {
838
- return /* @__PURE__ */ jsxs10(Fragment5, { children: [
843
+ return /* @__PURE__ */ jsxs9(Fragment5, { children: [
839
844
  /* @__PURE__ */ jsx18(Button3, __spreadProps(__spreadValues({ onClick: disclosure == null ? void 0 : disclosure[1].open, color: "indigo" }, rest), { children: label })),
840
845
  /* @__PURE__ */ jsx18(
841
846
  Modal5,
@@ -851,7 +856,7 @@ function MyButtonModal(_a) {
851
856
  ] });
852
857
  }
853
858
  if (crudType == "create") {
854
- return /* @__PURE__ */ jsxs10(Fragment5, { children: [
859
+ return /* @__PURE__ */ jsxs9(Fragment5, { children: [
855
860
  /* @__PURE__ */ jsx18(Button3, __spreadProps(__spreadValues({ onClick: disclosure == null ? void 0 : disclosure[1].open, leftSection: /* @__PURE__ */ jsx18(IconPlus4, {}) }, rest), { children: label ? label : `Th\xEAm` })),
856
861
  /* @__PURE__ */ jsx18(
857
862
  Modal5,
@@ -867,7 +872,7 @@ function MyButtonModal(_a) {
867
872
  ] });
868
873
  }
869
874
  if (crudType == "createMultiple") {
870
- return /* @__PURE__ */ jsxs10(Fragment5, { children: [
875
+ return /* @__PURE__ */ jsxs9(Fragment5, { children: [
871
876
  /* @__PURE__ */ jsx18(Button3, __spreadProps(__spreadValues({ onClick: disclosure == null ? void 0 : disclosure[1].open, color: "green", leftSection: /* @__PURE__ */ jsx18(IconPlus4, {}) }, rest), { children: label ? label : `Import ${objectNameLower}` })),
872
877
  /* @__PURE__ */ jsx18(
873
878
  Modal5,
@@ -883,7 +888,7 @@ function MyButtonModal(_a) {
883
888
  ] });
884
889
  }
885
890
  if (crudType == "update") {
886
- return /* @__PURE__ */ jsxs10(Fragment5, { children: [
891
+ return /* @__PURE__ */ jsxs9(Fragment5, { children: [
887
892
  /* @__PURE__ */ jsx18(Button3, __spreadProps(__spreadValues({ onClick: disclosure == null ? void 0 : disclosure[1].open, color: "yellow", leftSection: /* @__PURE__ */ jsx18(IconEdit4, {}) }, rest), { children: label ? label : `Ch\u1EC9nh s\u1EEDa ${objectNameLower}` })),
888
893
  /* @__PURE__ */ jsx18(
889
894
  Modal5,
@@ -899,7 +904,7 @@ function MyButtonModal(_a) {
899
904
  ] });
900
905
  }
901
906
  if (crudType == "delete") {
902
- return /* @__PURE__ */ jsxs10(Fragment5, { children: [
907
+ return /* @__PURE__ */ jsxs9(Fragment5, { children: [
903
908
  /* @__PURE__ */ jsx18(Button3, __spreadProps(__spreadValues({ onClick: disclosure == null ? void 0 : disclosure[1].open, color: "red", leftSection: /* @__PURE__ */ jsx18(IconTrash4, {}) }, rest), { children: label ? label : `X\xF3a ${objectNameLower}` })),
904
909
  /* @__PURE__ */ jsx18(
905
910
  Modal5,
@@ -917,7 +922,7 @@ function MyButtonModal(_a) {
917
922
  }
918
923
 
919
924
  // src/components/Buttons/ButtonCRUD/AQButtonCreateByImportFile.tsx
920
- import { jsx as jsx19, jsxs as jsxs11 } from "react/jsx-runtime";
925
+ import { jsx as jsx19, jsxs as jsxs10 } from "react/jsx-runtime";
921
926
  function AQButtonCreateByImportFile(_a) {
922
927
  var _b = _a, {
923
928
  form,
@@ -967,7 +972,7 @@ function AQButtonCreateByImportFile(_a) {
967
972
  reader.readAsArrayBuffer(file);
968
973
  };
969
974
  return /* @__PURE__ */ jsx19(MyButtonModal, __spreadProps(__spreadValues({ disclosure: disc, crudType: "createMultiple" }, rest), { children: /* @__PURE__ */ jsx19("form", { onSubmit: form.onSubmit((values) => {
970
- }), children: /* @__PURE__ */ jsxs11(MyFlexColumn, { children: [
975
+ }), children: /* @__PURE__ */ jsxs10(MyFlexColumn, { children: [
971
976
  /* @__PURE__ */ jsx19(
972
977
  FileInput,
973
978
  {
@@ -1033,7 +1038,7 @@ function AQButtonExportData({
1033
1038
  // src/components/Buttons/ButtonCRUD/MyButtonCreate.tsx
1034
1039
  import { useDisclosure as useDisclosure7 } from "@mantine/hooks";
1035
1040
  import { useMutation as useMutation4, useQueryClient as useQueryClient4 } from "@tanstack/react-query";
1036
- import { jsx as jsx21, jsxs as jsxs12 } from "react/jsx-runtime";
1041
+ import { jsx as jsx21, jsxs as jsxs11 } from "react/jsx-runtime";
1037
1042
  function MyButtonCreate(_a) {
1038
1043
  var _b = _a, {
1039
1044
  form,
@@ -1078,7 +1083,7 @@ function MyButtonCreate(_a) {
1078
1083
  });
1079
1084
  return /* @__PURE__ */ jsx21(MyButtonModal, __spreadProps(__spreadValues({ disclosure, crudType: "create" }, rest), { children: /* @__PURE__ */ jsx21("form", { onSubmit: form.onSubmit((values) => {
1080
1085
  mutation.mutate(values);
1081
- }), children: /* @__PURE__ */ jsxs12(MyFlexColumn, { children: [
1086
+ }), children: /* @__PURE__ */ jsxs11(MyFlexColumn, { children: [
1082
1087
  children,
1083
1088
  /* @__PURE__ */ jsx21(MyButton, { type: "submit", crudType: "save" })
1084
1089
  ] }) }) }));
@@ -1109,7 +1114,7 @@ import { Button as Button5, Divider, Fieldset, Group as Group5, Modal as Modal6,
1109
1114
  import { IconArrowBackUp, IconArrowBigLeft, IconArrowBigRight, IconSquareRoundedX } from "@tabler/icons-react";
1110
1115
 
1111
1116
  // src/components/Buttons/ButtonImport/useS_ButtonImport.ts
1112
- import { useEffect as useEffect3, useMemo as useMemo2 } from "react";
1117
+ import { useEffect as useEffect4, useMemo as useMemo2 } from "react";
1113
1118
  import * as XLSX3 from "xlsx";
1114
1119
  var useStore2 = createGenericStore({
1115
1120
  initialState: {
@@ -1222,7 +1227,7 @@ function useS_ButtonImport() {
1222
1227
  }))) || []
1223
1228
  ];
1224
1229
  }, [store.state.title]);
1225
- useEffect3(() => {
1230
+ useEffect4(() => {
1226
1231
  if (store.state.file == null) {
1227
1232
  store.resetState();
1228
1233
  }
@@ -1243,7 +1248,7 @@ function useS_ButtonImport() {
1243
1248
  };
1244
1249
  reader.readAsArrayBuffer(store.state.file);
1245
1250
  }, [store.state.file]);
1246
- useEffect3(() => {
1251
+ useEffect4(() => {
1247
1252
  var _a;
1248
1253
  if (((_a = store.state.data) == null ? void 0 : _a.length) == 0) return;
1249
1254
  autoMap();
@@ -1259,19 +1264,19 @@ function useS_ButtonImport() {
1259
1264
  }
1260
1265
 
1261
1266
  // src/components/Buttons/ButtonImport/SelectFieldModal.tsx
1262
- import { jsx as jsx24, jsxs as jsxs13 } from "react/jsx-runtime";
1267
+ import { jsx as jsx24, jsxs as jsxs12 } from "react/jsx-runtime";
1263
1268
  function SelectFieldModal({ stack, onImport }) {
1264
1269
  var _a, _b;
1265
1270
  const store = useS_ButtonImport();
1266
- return /* @__PURE__ */ jsxs13(Modal6, __spreadProps(__spreadValues({ fullScreen: true }, stack.register("select-field-page")), { title: "Import", children: [
1267
- /* @__PURE__ */ jsxs13(SimpleGrid, { cols: { base: 1, lg: 2 }, children: [
1268
- /* @__PURE__ */ jsxs13(Fieldset, { legend: "Danh s\xE1ch tr\u01B0\u1EDDng th\xF4ng tin", children: [
1269
- /* @__PURE__ */ jsxs13(Table, { stickyHeader: true, stickyHeaderOffset: 60, children: [
1270
- /* @__PURE__ */ jsx24(Table.Thead, { bg: "cyan", children: /* @__PURE__ */ jsxs13(Table.Tr, { children: [
1271
+ return /* @__PURE__ */ jsxs12(Modal6, __spreadProps(__spreadValues({ fullScreen: true }, stack.register("select-field-page")), { title: "Import", children: [
1272
+ /* @__PURE__ */ jsxs12(SimpleGrid, { cols: { base: 1, lg: 2 }, children: [
1273
+ /* @__PURE__ */ jsxs12(Fieldset, { legend: "Danh s\xE1ch tr\u01B0\u1EDDng th\xF4ng tin", children: [
1274
+ /* @__PURE__ */ jsxs12(Table, { stickyHeader: true, stickyHeaderOffset: 60, children: [
1275
+ /* @__PURE__ */ jsx24(Table.Thead, { bg: "cyan", children: /* @__PURE__ */ jsxs12(Table.Tr, { children: [
1271
1276
  /* @__PURE__ */ jsx24(Table.Th, { children: "M\xE3 field" }),
1272
1277
  /* @__PURE__ */ jsx24(Table.Th, { children: "T\xEAn field" })
1273
1278
  ] }) }),
1274
- /* @__PURE__ */ jsx24(Table.Tbody, { children: (_a = store.state.fieldConfig) == null ? void 0 : _a.filter((item) => item.isSelected == false || item.isSelected == void 0).map((item, idx) => /* @__PURE__ */ jsxs13(
1279
+ /* @__PURE__ */ jsx24(Table.Tbody, { children: (_a = store.state.fieldConfig) == null ? void 0 : _a.filter((item) => item.isSelected == false || item.isSelected == void 0).map((item, idx) => /* @__PURE__ */ jsxs12(
1275
1280
  Table.Tr,
1276
1281
  {
1277
1282
  style: { cursor: "pointer" },
@@ -1295,14 +1300,14 @@ function SelectFieldModal({ stack, onImport }) {
1295
1300
  }
1296
1301
  ) })
1297
1302
  ] }),
1298
- /* @__PURE__ */ jsxs13(Fieldset, { legend: "Danh s\xE1ch tr\u01B0\u1EDDng th\xF4ng tin \u0111\u01B0\u1EE3c ch\u1ECDn", children: [
1299
- /* @__PURE__ */ jsxs13(Table, { stickyHeader: true, stickyHeaderOffset: 60, children: [
1300
- /* @__PURE__ */ jsx24(Table.Thead, { children: /* @__PURE__ */ jsxs13(Table.Tr, { children: [
1303
+ /* @__PURE__ */ jsxs12(Fieldset, { legend: "Danh s\xE1ch tr\u01B0\u1EDDng th\xF4ng tin \u0111\u01B0\u1EE3c ch\u1ECDn", children: [
1304
+ /* @__PURE__ */ jsxs12(Table, { stickyHeader: true, stickyHeaderOffset: 60, children: [
1305
+ /* @__PURE__ */ jsx24(Table.Thead, { children: /* @__PURE__ */ jsxs12(Table.Tr, { children: [
1301
1306
  /* @__PURE__ */ jsx24(Table.Th, { children: "M\xE3 field" }),
1302
1307
  /* @__PURE__ */ jsx24(Table.Th, { children: "T\xEAn field" }),
1303
1308
  /* @__PURE__ */ jsx24(Table.Th, { children: "C\u1ED9t map" })
1304
1309
  ] }) }),
1305
- /* @__PURE__ */ jsx24(Table.Tbody, { children: (_b = store.state.fieldConfig) == null ? void 0 : _b.filter((item) => item.isSelected == true).map((item, idx) => /* @__PURE__ */ jsxs13(
1310
+ /* @__PURE__ */ jsx24(Table.Tbody, { children: (_b = store.state.fieldConfig) == null ? void 0 : _b.filter((item) => item.isSelected == true).map((item, idx) => /* @__PURE__ */ jsxs12(
1306
1311
  Table.Tr,
1307
1312
  {
1308
1313
  style: { cursor: "pointer" },
@@ -1329,7 +1334,7 @@ function SelectFieldModal({ stack, onImport }) {
1329
1334
  ] })
1330
1335
  ] }),
1331
1336
  /* @__PURE__ */ jsx24(Divider, {}),
1332
- /* @__PURE__ */ jsxs13(MyFlexEnd, { children: [
1337
+ /* @__PURE__ */ jsxs12(MyFlexEnd, { children: [
1333
1338
  /* @__PURE__ */ jsx24(
1334
1339
  Button5,
1335
1340
  {
@@ -1370,8 +1375,8 @@ import {
1370
1375
  useMantineReactTable
1371
1376
  } from "mantine-react-table";
1372
1377
  import { MRT_Localization_VI } from "mantine-react-table/locales/vi/index.cjs";
1373
- import { useEffect as useEffect4 } from "react";
1374
- import { Fragment as Fragment6, jsx as jsx25, jsxs as jsxs14 } from "react/jsx-runtime";
1378
+ import { useEffect as useEffect5 } from "react";
1379
+ import { Fragment as Fragment6, jsx as jsx25, jsxs as jsxs13 } from "react/jsx-runtime";
1375
1380
  function formatData(data, formats) {
1376
1381
  return data.map((row) => {
1377
1382
  const transformedRow = {};
@@ -1412,7 +1417,7 @@ function MyDataTable(_a) {
1412
1417
  columns,
1413
1418
  data,
1414
1419
  renderTopToolbarCustomActions: ({ table: table2 }) => {
1415
- return /* @__PURE__ */ jsxs14(Group6, { children: [
1420
+ return /* @__PURE__ */ jsxs13(Group6, { children: [
1416
1421
  renderTopToolbarCustomActions && renderTopToolbarCustomActions({ table: table2 }),
1417
1422
  exportAble && /* @__PURE__ */ jsx25(Fragment6, { children: /* @__PURE__ */ jsx25(
1418
1423
  Button6,
@@ -1467,7 +1472,7 @@ function MyDataTable(_a) {
1467
1472
  },
1468
1473
  localization: MRT_Localization_VI
1469
1474
  }, rest));
1470
- useEffect4(() => {
1475
+ useEffect5(() => {
1471
1476
  setSelectedRow && setSelectedRow(table.getSelectedRowModel().rows.map((row) => row.original));
1472
1477
  }, [table.getState().rowSelection]);
1473
1478
  if (data == void 0) return;
@@ -1477,11 +1482,11 @@ function MyDataTable(_a) {
1477
1482
  // src/components/Buttons/ButtonImport/SelectFileModal.tsx
1478
1483
  import { Button as Button7, Fieldset as Fieldset2, FileInput as FileInput2, Modal as Modal7, NumberInput, Select as Select2, SimpleGrid as SimpleGrid2 } from "@mantine/core";
1479
1484
  import { IconArrowBigRight as IconArrowBigRight2, IconSquareRoundedX as IconSquareRoundedX2 } from "@tabler/icons-react";
1480
- import { jsx as jsx26, jsxs as jsxs15 } from "react/jsx-runtime";
1485
+ import { jsx as jsx26, jsxs as jsxs14 } from "react/jsx-runtime";
1481
1486
  function SelectFileModal({ onExportStructure, stack }) {
1482
1487
  var _a;
1483
1488
  const store = useS_ButtonImport();
1484
- return /* @__PURE__ */ jsxs15(
1489
+ return /* @__PURE__ */ jsxs14(
1485
1490
  Modal7,
1486
1491
  __spreadProps(__spreadValues({
1487
1492
  title: "Import",
@@ -1498,7 +1503,7 @@ function SelectFileModal({ onExportStructure, stack }) {
1498
1503
  clearable: true
1499
1504
  }
1500
1505
  ),
1501
- /* @__PURE__ */ jsxs15(SimpleGrid2, { cols: { base: 1, md: 2, lg: 2, xl: 4 }, children: [
1506
+ /* @__PURE__ */ jsxs14(SimpleGrid2, { cols: { base: 1, md: 2, lg: 2, xl: 4 }, children: [
1502
1507
  /* @__PURE__ */ jsx26(
1503
1508
  NumberInput,
1504
1509
  {
@@ -1541,7 +1546,7 @@ function SelectFileModal({ onExportStructure, stack }) {
1541
1546
  data: store.state.data
1542
1547
  }
1543
1548
  ) }),
1544
- /* @__PURE__ */ jsxs15(MyFlexEnd, { children: [
1549
+ /* @__PURE__ */ jsxs14(MyFlexEnd, { children: [
1545
1550
  /* @__PURE__ */ jsx26(
1546
1551
  Button7,
1547
1552
  {
@@ -1576,16 +1581,16 @@ function SelectFileModal({ onExportStructure, stack }) {
1576
1581
  }
1577
1582
 
1578
1583
  // src/components/Buttons/ButtonImport/MyButtonImport.tsx
1579
- import { Fragment as Fragment7, jsx as jsx27, jsxs as jsxs16 } from "react/jsx-runtime";
1584
+ import { Fragment as Fragment7, jsx as jsx27, jsxs as jsxs15 } from "react/jsx-runtime";
1580
1585
  function MyButtonImport({
1581
1586
  onExportStructure,
1582
1587
  onImport
1583
1588
  }) {
1584
1589
  const stack = useModalsStack3(["select-file-page", "select-field-page", "implement-page"]);
1585
1590
  const store = useS_ButtonImport();
1586
- return /* @__PURE__ */ jsxs16(Fragment7, { children: [
1591
+ return /* @__PURE__ */ jsxs15(Fragment7, { children: [
1587
1592
  /* @__PURE__ */ jsx27(Button8, { color: "teal.8", onClick: () => stack.open("select-file-page"), leftSection: /* @__PURE__ */ jsx27(IconFileImport2, {}), title: "Import", children: "Import" }),
1588
- /* @__PURE__ */ jsxs16(Modal8.Stack, { children: [
1593
+ /* @__PURE__ */ jsxs15(Modal8.Stack, { children: [
1589
1594
  /* @__PURE__ */ jsx27(SelectFileModal, { stack, onExportStructure }),
1590
1595
  /* @__PURE__ */ jsx27(SelectFieldModal, { stack, onImport: () => onImport(store.getDataFinal()) })
1591
1596
  ] })
@@ -1595,7 +1600,7 @@ function MyButtonImport({
1595
1600
  // src/components/Buttons/ButtonModal/AQSelectTableByOpenModal.tsx
1596
1601
  import { Button as Button9, Fieldset as Fieldset3, Modal as Modal9 } from "@mantine/core";
1597
1602
  import { useDisclosure as useDisclosure8 } from "@mantine/hooks";
1598
- import { Fragment as Fragment8, jsx as jsx28, jsxs as jsxs17 } from "react/jsx-runtime";
1603
+ import { Fragment as Fragment8, jsx as jsx28, jsxs as jsxs16 } from "react/jsx-runtime";
1599
1604
  function AQSelectTableByOpenModal(_a) {
1600
1605
  var _b = _a, {
1601
1606
  setSelectedData,
@@ -1623,7 +1628,7 @@ function AQSelectTableByOpenModal(_a) {
1623
1628
  "closeAfterSelect"
1624
1629
  ]);
1625
1630
  const disclosure = useDisclosure8(false);
1626
- return /* @__PURE__ */ jsxs17(Fragment8, { children: [
1631
+ return /* @__PURE__ */ jsxs16(Fragment8, { children: [
1627
1632
  /* @__PURE__ */ jsx28(
1628
1633
  Button9,
1629
1634
  __spreadProps(__spreadValues({
@@ -1664,7 +1669,7 @@ import { useRef as useRef2 } from "react";
1664
1669
  import { Button as Button10 } from "@mantine/core";
1665
1670
  import { IconPrinter as IconPrinter2 } from "@tabler/icons-react";
1666
1671
  import { useReactToPrint } from "react-to-print";
1667
- import { Fragment as Fragment9, jsx as jsx29, jsxs as jsxs18 } from "react/jsx-runtime";
1672
+ import { Fragment as Fragment9, jsx as jsx29, jsxs as jsxs17 } from "react/jsx-runtime";
1668
1673
  function MyButtonPrintPDF(_a) {
1669
1674
  var _b = _a, { contentToPrint, children } = _b, rest = __objRest(_b, ["contentToPrint", "children"]);
1670
1675
  const printRef = useRef2(null);
@@ -1678,7 +1683,7 @@ function MyButtonPrintPDF(_a) {
1678
1683
  if (!contentToPrint) return;
1679
1684
  handlePrint();
1680
1685
  }
1681
- return /* @__PURE__ */ jsxs18(Fragment9, { children: [
1686
+ return /* @__PURE__ */ jsxs17(Fragment9, { children: [
1682
1687
  /* @__PURE__ */ jsx29("div", { style: { display: "none" }, children: /* @__PURE__ */ jsx29("div", { ref: printRef, children: contentToPrint }) }),
1683
1688
  /* @__PURE__ */ jsx29(Button10, __spreadProps(__spreadValues({ color: "orange", onClick: handleClick, leftSection: /* @__PURE__ */ jsx29(IconPrinter2, {}) }, rest), { children }))
1684
1689
  ] });
@@ -1708,7 +1713,7 @@ function MyHtmlWrapper(_a) {
1708
1713
 
1709
1714
  // src/components/Buttons/ButtonPrintPDFTable/MyButtonPrintTablePDF.tsx
1710
1715
  import { Box, Table as Table2 } from "@mantine/core";
1711
- import { jsx as jsx31, jsxs as jsxs19 } from "react/jsx-runtime";
1716
+ import { jsx as jsx31, jsxs as jsxs18 } from "react/jsx-runtime";
1712
1717
  function MyButtonPrintTablePDF(_a) {
1713
1718
  var _b = _a, {
1714
1719
  printConfig,
@@ -1734,7 +1739,7 @@ function MyButtonPrintTablePDF(_a) {
1734
1739
  };
1735
1740
  const rows = data == null ? void 0 : data.map((item, index) => {
1736
1741
  if (!(printConfig == null ? void 0 : printConfig.fields)) return null;
1737
- return /* @__PURE__ */ jsxs19(Table2.Tr, { children: [
1742
+ return /* @__PURE__ */ jsxs18(Table2.Tr, { children: [
1738
1743
  printConfig.showRowNumbers && /* @__PURE__ */ jsx31(Table2.Td, { ta: "center", px: "xs", style: { border: "1px solid lightgray" }, children: index + 1 }),
1739
1744
  printConfig.fields.map((field) => {
1740
1745
  let value = item[field.fieldName];
@@ -1792,14 +1797,14 @@ function MyButtonPrintTablePDF(_a) {
1792
1797
  minute: "2-digit"
1793
1798
  });
1794
1799
  const tableTitle = (printConfig == null ? void 0 : printConfig.title) || "B\u1EA3ng d\u1EEF li\u1EC7u";
1795
- return /* @__PURE__ */ jsxs19(Box, { p: "lg", children: [
1796
- /* @__PURE__ */ jsxs19("div", { style: { textAlign: "center", marginTop: "10px", fontStyle: "italic", color: "#666" }, children: [
1800
+ return /* @__PURE__ */ jsxs18(Box, { p: "lg", children: [
1801
+ /* @__PURE__ */ jsxs18("div", { style: { textAlign: "center", marginTop: "10px", fontStyle: "italic", color: "#666" }, children: [
1797
1802
  "Ng\xE0y in: ",
1798
1803
  formattedDate
1799
1804
  ] }),
1800
1805
  /* @__PURE__ */ jsx31("h2", { style: { textAlign: "center", fontSize: "24px", fontWeight: "bold", marginBottom: "20px" }, children: tableTitle }),
1801
- /* @__PURE__ */ jsxs19(Table2, { withColumnBorders: true, highlightOnHover: true, style: { border: "1px solid lightgray" }, children: [
1802
- /* @__PURE__ */ jsx31(Table2.Thead, { children: /* @__PURE__ */ jsxs19(Table2.Tr, { children: [
1806
+ /* @__PURE__ */ jsxs18(Table2, { withColumnBorders: true, highlightOnHover: true, style: { border: "1px solid lightgray" }, children: [
1807
+ /* @__PURE__ */ jsx31(Table2.Thead, { children: /* @__PURE__ */ jsxs18(Table2.Tr, { children: [
1803
1808
  printConfig.showRowNumbers && /* @__PURE__ */ jsx31(Table2.Th, { style: { border: "1px solid lightgray" }, w: "10%", ta: "center", px: "xs", children: "STT" }),
1804
1809
  printConfig.fields.map((field) => {
1805
1810
  const alignment = field.isCenter === false ? "left" : "center";
@@ -1867,8 +1872,8 @@ import {
1867
1872
  import { useDisclosure as useDisclosure9 } from "@mantine/hooks";
1868
1873
  import { IconLivePhoto as IconLivePhoto2, IconMaximize as IconMaximize3, IconMinimize as IconMinimize3 } from "@tabler/icons-react";
1869
1874
  import { useQuery } from "@tanstack/react-query";
1870
- import { useState as useState6 } from "react";
1871
- import { Fragment as Fragment10, jsx as jsx33, jsxs as jsxs20 } from "react/jsx-runtime";
1875
+ import { useState as useState7 } from "react";
1876
+ import { Fragment as Fragment10, jsx as jsx33, jsxs as jsxs19 } from "react/jsx-runtime";
1872
1877
  function MyButtonViewPDF({
1873
1878
  id,
1874
1879
  modalSize = "80%",
@@ -1879,8 +1884,8 @@ function MyButtonViewPDF({
1879
1884
  }) {
1880
1885
  var _a, _b, _c;
1881
1886
  const disc = useDisclosure9(false);
1882
- const fullScreen = useState6(false);
1883
- const hSize = useState6("80vh");
1887
+ const fullScreen = useState7(false);
1888
+ const hSize = useState7("80vh");
1884
1889
  const query = useQuery({
1885
1890
  queryKey: ["MyButtonViewPDF", id, filePath],
1886
1891
  queryFn: async () => {
@@ -1893,7 +1898,7 @@ function MyButtonViewPDF({
1893
1898
  },
1894
1899
  enabled: disc[0] == true
1895
1900
  });
1896
- return /* @__PURE__ */ jsxs20(Fragment10, { children: [
1901
+ return /* @__PURE__ */ jsxs19(Fragment10, { children: [
1897
1902
  /* @__PURE__ */ jsx33(Tooltip4, { label: "Xem t\xE0i li\u1EC7u tr\u1EF1c ti\u1EBFp", children: isActionIcon ? /* @__PURE__ */ jsx33(
1898
1903
  ActionIcon9,
1899
1904
  {
@@ -1920,7 +1925,7 @@ function MyButtonViewPDF({
1920
1925
  opened: disc[0],
1921
1926
  onClose: disc[1].close,
1922
1927
  size: modalSize,
1923
- title: /* @__PURE__ */ jsxs20(Group7, { children: [
1928
+ title: /* @__PURE__ */ jsxs19(Group7, { children: [
1924
1929
  /* @__PURE__ */ jsx33(Text5, { children: "Xem t\xE0i li\u1EC7u tr\u1EF1c ti\u1EBFp" }),
1925
1930
  fullScreen[0] ? /* @__PURE__ */ jsx33(
1926
1931
  ActionIcon9,
@@ -1942,7 +1947,7 @@ function MyButtonViewPDF({
1942
1947
  }
1943
1948
  )
1944
1949
  ] }),
1945
- children: /* @__PURE__ */ jsxs20(Paper3, { h: hSize[0], p: "lg", pos: "relative", children: [
1950
+ children: /* @__PURE__ */ jsxs19(Paper3, { h: hSize[0], p: "lg", pos: "relative", children: [
1946
1951
  /* @__PURE__ */ jsx33(
1947
1952
  LoadingOverlay,
1948
1953
  {
@@ -6312,8 +6317,8 @@ import { createEventsServicePlugin } from "@schedule-x/events-service";
6312
6317
  import { ScheduleXCalendar, useNextCalendarApp } from "@schedule-x/react";
6313
6318
  import { Paper as Paper4, Text as Text6 } from "@mantine/core";
6314
6319
  import "@schedule-x/theme-default/dist/index.css";
6315
- import { useEffect as useEffect5 } from "react";
6316
- import { jsx as jsx34, jsxs as jsxs21 } from "react/jsx-runtime";
6320
+ import { useEffect as useEffect6 } from "react";
6321
+ import { jsx as jsx34, jsxs as jsxs20 } from "react/jsx-runtime";
6317
6322
  function MyCalendar() {
6318
6323
  const plugins = [createEventsServicePlugin(), createEventModalPlugin()];
6319
6324
  const calendar = useNextCalendarApp({
@@ -6384,14 +6389,14 @@ function MyCalendar() {
6384
6389
  }
6385
6390
  ]
6386
6391
  }, plugins);
6387
- useEffect5(() => {
6392
+ useEffect6(() => {
6388
6393
  calendar == null ? void 0 : calendar.events.getAll();
6389
6394
  }, []);
6390
6395
  return /* @__PURE__ */ jsx34("div", { children: /* @__PURE__ */ jsx34(ScheduleXCalendar, { calendarApp: calendar, customComponents: {
6391
6396
  timeGridEvent: ({ calendarEvent }) => {
6392
6397
  console.log(calendarEvent);
6393
- return /* @__PURE__ */ jsx34(Paper4, { h: "100%", bg: calendarEvent.laLichThi ? "violet.2" : "blue.2", p: 4, children: /* @__PURE__ */ jsxs21(MyFlexColumn, { gap: 1, children: [
6394
- /* @__PURE__ */ jsxs21(Text6, { size: "sm", fw: "bold", children: [
6398
+ return /* @__PURE__ */ jsx34(Paper4, { h: "100%", bg: calendarEvent.laLichThi ? "violet.2" : "blue.2", p: 4, children: /* @__PURE__ */ jsxs20(MyFlexColumn, { gap: 1, children: [
6399
+ /* @__PURE__ */ jsxs20(Text6, { size: "sm", fw: "bold", children: [
6395
6400
  calendarEvent.laLichThi ? "(Thi) " : "(H\u1ECDc) ",
6396
6401
  calendarEvent.title
6397
6402
  ] }),
@@ -6435,7 +6440,7 @@ function MyFlexRow(_a) {
6435
6440
  // src/components/DataDisplay/Card/AQCard.tsx
6436
6441
  import { Badge, Card, Center as Center3, Image, Text as Text7 } from "@mantine/core";
6437
6442
  import Link from "next/link";
6438
- import { jsx as jsx38, jsxs as jsxs22 } from "react/jsx-runtime";
6443
+ import { jsx as jsx38, jsxs as jsxs21 } from "react/jsx-runtime";
6439
6444
  function AQCard({
6440
6445
  imgSrc = "https://raw.githubusercontent.com/mantinedev/mantine/master/.demo/images/bg-8.png",
6441
6446
  title,
@@ -6445,7 +6450,7 @@ function AQCard({
6445
6450
  status,
6446
6451
  href = ""
6447
6452
  }) {
6448
- return /* @__PURE__ */ jsxs22(Card, { shadow: "sm", padding: "lg", radius: "md", withBorder: true, component: Link, href, children: [
6453
+ return /* @__PURE__ */ jsxs21(Card, { shadow: "sm", padding: "lg", radius: "md", withBorder: true, component: Link, href, children: [
6449
6454
  /* @__PURE__ */ jsx38(Card.Section, { children: /* @__PURE__ */ jsx38(Center3, { children: /* @__PURE__ */ jsx38(
6450
6455
  Image,
6451
6456
  {
@@ -6456,7 +6461,7 @@ function AQCard({
6456
6461
  alt: "Norway"
6457
6462
  }
6458
6463
  ) }) }),
6459
- /* @__PURE__ */ jsxs22(MyFlexRow, { justify: "space-between", mt: "md", mb: "xs", children: [
6464
+ /* @__PURE__ */ jsxs21(MyFlexRow, { justify: "space-between", mt: "md", mb: "xs", children: [
6460
6465
  /* @__PURE__ */ jsx38(Text7, { fw: 500, children: title }),
6461
6466
  status && /* @__PURE__ */ jsx38(Badge, { color: "violet.5", w: "150px", children: status })
6462
6467
  ] }),
@@ -6468,7 +6473,7 @@ function AQCard({
6468
6473
  // src/components/DataDisplay/CardInformation/MyCardInformation.tsx
6469
6474
  import { Box as Box2, Flex as Flex3, Group as Group9, Paper as Paper5, Text as Text8 } from "@mantine/core";
6470
6475
  import { IconArrowDownRight, IconArrowUpRight } from "@tabler/icons-react";
6471
- import { jsx as jsx39, jsxs as jsxs23 } from "react/jsx-runtime";
6476
+ import { jsx as jsx39, jsxs as jsxs22 } from "react/jsx-runtime";
6472
6477
  function MyCardInformation({
6473
6478
  title,
6474
6479
  value,
@@ -6478,15 +6483,15 @@ function MyCardInformation({
6478
6483
  diff = 0,
6479
6484
  extraControl
6480
6485
  }) {
6481
- return /* @__PURE__ */ jsxs23(
6486
+ return /* @__PURE__ */ jsxs22(
6482
6487
  Paper5,
6483
6488
  {
6484
6489
  withBorder: true,
6485
6490
  p: "md",
6486
6491
  radius: "md",
6487
6492
  children: [
6488
- /* @__PURE__ */ jsxs23(Group9, { justify: "space-between", children: [
6489
- /* @__PURE__ */ jsxs23(Flex3, { direction: "column", children: [
6493
+ /* @__PURE__ */ jsxs22(Group9, { justify: "space-between", children: [
6494
+ /* @__PURE__ */ jsxs22(Flex3, { direction: "column", children: [
6490
6495
  /* @__PURE__ */ jsx39(
6491
6496
  Text8,
6492
6497
  {
@@ -6496,17 +6501,17 @@ function MyCardInformation({
6496
6501
  children: title
6497
6502
  }
6498
6503
  ),
6499
- unit == "" ? /* @__PURE__ */ jsxs23(Text8, { size: "xs", style: { visibility: "hidden" }, children: [
6504
+ unit == "" ? /* @__PURE__ */ jsxs22(Text8, { size: "xs", style: { visibility: "hidden" }, children: [
6500
6505
  "\u0110\u01A1n v\u1ECB: ",
6501
6506
  /* @__PURE__ */ jsx39("strong", { children: unit })
6502
- ] }) : /* @__PURE__ */ jsxs23(Text8, { size: "xs", children: [
6507
+ ] }) : /* @__PURE__ */ jsxs22(Text8, { size: "xs", children: [
6503
6508
  "\u0110\u01A1n v\u1ECB: ",
6504
6509
  /* @__PURE__ */ jsx39("strong", { children: unit })
6505
6510
  ] })
6506
6511
  ] }),
6507
6512
  /* @__PURE__ */ jsx39(Box2, { children: icon })
6508
6513
  ] }),
6509
- /* @__PURE__ */ jsxs23(
6514
+ /* @__PURE__ */ jsxs22(
6510
6515
  Group9,
6511
6516
  {
6512
6517
  mt: "5",
@@ -6521,7 +6526,7 @@ function MyCardInformation({
6521
6526
  children: value
6522
6527
  }
6523
6528
  ),
6524
- /* @__PURE__ */ jsxs23(
6529
+ /* @__PURE__ */ jsxs22(
6525
6530
  Text8,
6526
6531
  {
6527
6532
  mb: "2",
@@ -6529,7 +6534,7 @@ function MyCardInformation({
6529
6534
  fz: "h2",
6530
6535
  fw: 500,
6531
6536
  children: [
6532
- /* @__PURE__ */ jsxs23("span", { children: [
6537
+ /* @__PURE__ */ jsxs22("span", { children: [
6533
6538
  diff,
6534
6539
  "%"
6535
6540
  ] }),
@@ -6540,7 +6545,7 @@ function MyCardInformation({
6540
6545
  ]
6541
6546
  }
6542
6547
  ),
6543
- /* @__PURE__ */ jsxs23(Group9, { justify: "space-between", children: [
6548
+ /* @__PURE__ */ jsxs22(Group9, { justify: "space-between", children: [
6544
6549
  /* @__PURE__ */ jsx39(Text8, { tt: "uppercase", fz: "xs", c: "dimmed", children: description }),
6545
6550
  extraControl
6546
6551
  ] })
@@ -6552,9 +6557,9 @@ function MyCardInformation({
6552
6557
 
6553
6558
  // src/components/DataDisplay/IconText/MyIconText.tsx
6554
6559
  import { Group as Group10, Text as Text9 } from "@mantine/core";
6555
- import { jsx as jsx40, jsxs as jsxs24 } from "react/jsx-runtime";
6560
+ import { jsx as jsx40, jsxs as jsxs23 } from "react/jsx-runtime";
6556
6561
  function MyIconText({ icon: Icon, text }) {
6557
- return /* @__PURE__ */ jsxs24(Group10, { wrap: "nowrap", gap: 10, mt: 3, children: [
6562
+ return /* @__PURE__ */ jsxs23(Group10, { wrap: "nowrap", gap: 10, mt: 3, children: [
6558
6563
  Icon && /* @__PURE__ */ jsx40(Icon, { stroke: 1.5, size: 16 }),
6559
6564
  /* @__PURE__ */ jsx40(Text9, { fz: "lg", c: "dimmed", children: text })
6560
6565
  ] });
@@ -6562,10 +6567,10 @@ function MyIconText({ icon: Icon, text }) {
6562
6567
 
6563
6568
  // src/components/DataDisplay/KeyLabel/MyKeyLabel.tsx
6564
6569
  import { Group as Group11, Text as Text10 } from "@mantine/core";
6565
- import { jsx as jsx41, jsxs as jsxs25 } from "react/jsx-runtime";
6570
+ import { jsx as jsx41, jsxs as jsxs24 } from "react/jsx-runtime";
6566
6571
  function MyKeyLabel({ keyLabel, label }) {
6567
- return /* @__PURE__ */ jsxs25(Group11, { gap: 5, children: [
6568
- /* @__PURE__ */ jsxs25(Text10, { fw: "bold", children: [
6572
+ return /* @__PURE__ */ jsxs24(Group11, { gap: 5, children: [
6573
+ /* @__PURE__ */ jsxs24(Text10, { fw: "bold", children: [
6569
6574
  keyLabel,
6570
6575
  ":"
6571
6576
  ] }),
@@ -6584,17 +6589,17 @@ function MyNumberFormatter(_a) {
6584
6589
  // src/components/DataDisplay/StatCard/AQStatCard1.tsx
6585
6590
  import { Box as Box3, Button as Button14, Flex as Flex4, Group as Group12, Paper as Paper6, Text as Text11 } from "@mantine/core";
6586
6591
  import { IconArrowDownRight as IconArrowDownRight2, IconArrowUpRight as IconArrowUpRight2 } from "@tabler/icons-react";
6587
- import { Fragment as Fragment11, jsx as jsx43, jsxs as jsxs26 } from "react/jsx-runtime";
6592
+ import { Fragment as Fragment11, jsx as jsx43, jsxs as jsxs25 } from "react/jsx-runtime";
6588
6593
  function AQStatCard1({ title, value, unit = "", description, icons, diff }) {
6589
- return /* @__PURE__ */ jsx43(Fragment11, { children: /* @__PURE__ */ jsxs26(
6594
+ return /* @__PURE__ */ jsx43(Fragment11, { children: /* @__PURE__ */ jsxs25(
6590
6595
  Paper6,
6591
6596
  {
6592
6597
  withBorder: true,
6593
6598
  p: "md",
6594
6599
  radius: "md",
6595
6600
  children: [
6596
- /* @__PURE__ */ jsxs26(Group12, { justify: "space-between", children: [
6597
- /* @__PURE__ */ jsxs26(Flex4, { direction: "column", children: [
6601
+ /* @__PURE__ */ jsxs25(Group12, { justify: "space-between", children: [
6602
+ /* @__PURE__ */ jsxs25(Flex4, { direction: "column", children: [
6598
6603
  /* @__PURE__ */ jsx43(
6599
6604
  Text11,
6600
6605
  {
@@ -6604,17 +6609,17 @@ function AQStatCard1({ title, value, unit = "", description, icons, diff }) {
6604
6609
  children: title
6605
6610
  }
6606
6611
  ),
6607
- unit == "" ? /* @__PURE__ */ jsxs26(Text11, { size: "xs", style: { visibility: "hidden" }, children: [
6612
+ unit == "" ? /* @__PURE__ */ jsxs25(Text11, { size: "xs", style: { visibility: "hidden" }, children: [
6608
6613
  "\u0110\u01A1n v\u1ECB: ",
6609
6614
  /* @__PURE__ */ jsx43("strong", { children: unit })
6610
- ] }) : /* @__PURE__ */ jsxs26(Text11, { size: "xs", children: [
6615
+ ] }) : /* @__PURE__ */ jsxs25(Text11, { size: "xs", children: [
6611
6616
  "\u0110\u01A1n v\u1ECB: ",
6612
6617
  /* @__PURE__ */ jsx43("strong", { children: unit })
6613
6618
  ] })
6614
6619
  ] }),
6615
6620
  /* @__PURE__ */ jsx43(Box3, { children: icons })
6616
6621
  ] }),
6617
- /* @__PURE__ */ jsxs26(
6622
+ /* @__PURE__ */ jsxs25(
6618
6623
  Group12,
6619
6624
  {
6620
6625
  mt: "5",
@@ -6629,7 +6634,7 @@ function AQStatCard1({ title, value, unit = "", description, icons, diff }) {
6629
6634
  children: value
6630
6635
  }
6631
6636
  ),
6632
- /* @__PURE__ */ jsxs26(
6637
+ /* @__PURE__ */ jsxs25(
6633
6638
  Text11,
6634
6639
  {
6635
6640
  mb: "2",
@@ -6637,7 +6642,7 @@ function AQStatCard1({ title, value, unit = "", description, icons, diff }) {
6637
6642
  fz: "h2",
6638
6643
  fw: 500,
6639
6644
  children: [
6640
- /* @__PURE__ */ jsxs26("span", { children: [
6645
+ /* @__PURE__ */ jsxs25("span", { children: [
6641
6646
  diff,
6642
6647
  "%"
6643
6648
  ] }),
@@ -6648,7 +6653,7 @@ function AQStatCard1({ title, value, unit = "", description, icons, diff }) {
6648
6653
  ]
6649
6654
  }
6650
6655
  ),
6651
- /* @__PURE__ */ jsxs26(Group12, { justify: "space-between", children: [
6656
+ /* @__PURE__ */ jsxs25(Group12, { justify: "space-between", children: [
6652
6657
  /* @__PURE__ */ jsx43(Text11, { tt: "uppercase", fz: "xs", c: "dimmed", children: description }),
6653
6658
  /* @__PURE__ */ jsx43(
6654
6659
  Button14,
@@ -6666,11 +6671,11 @@ function AQStatCard1({ title, value, unit = "", description, icons, diff }) {
6666
6671
  }
6667
6672
 
6668
6673
  // src/components/FaviconSetter/FaviconSetter.tsx
6669
- import { useEffect as useEffect6 } from "react";
6674
+ import { useEffect as useEffect7 } from "react";
6670
6675
  function FaviconSetter() {
6671
6676
  var _a;
6672
6677
  const store = useS_BasicAppShell();
6673
- useEffect6(() => {
6678
+ useEffect7(() => {
6674
6679
  var _a2, _b, _c;
6675
6680
  if (!((_a2 = store.state.faviconFileDetail) == null ? void 0 : _a2.fileBase64String)) return;
6676
6681
  try {
@@ -6764,8 +6769,8 @@ import TextAlign from "@tiptap/extension-text-align";
6764
6769
  import Underline from "@tiptap/extension-underline";
6765
6770
  import { useEditor } from "@tiptap/react";
6766
6771
  import StarterKit from "@tiptap/starter-kit";
6767
- import { useEffect as useEffect7, useState as useState7 } from "react";
6768
- import { jsx as jsx49, jsxs as jsxs27 } from "react/jsx-runtime";
6772
+ import { useEffect as useEffect8, useState as useState8 } from "react";
6773
+ import { jsx as jsx49, jsxs as jsxs26 } from "react/jsx-runtime";
6769
6774
  function MyTextEditor(_a) {
6770
6775
  var _b = _a, {
6771
6776
  autoHiddenToolBar = false,
@@ -6784,7 +6789,7 @@ function MyTextEditor(_a) {
6784
6789
  "label",
6785
6790
  "withAsterisk"
6786
6791
  ]);
6787
- const [hiddenToolBar, setHiddenToolBar] = useState7(autoHiddenToolBar);
6792
+ const [hiddenToolBar, setHiddenToolBar] = useState8(autoHiddenToolBar);
6788
6793
  const editor = useEditor(__spreadValues({
6789
6794
  extensions: [
6790
6795
  StarterKit,
@@ -6862,14 +6867,14 @@ function MyTextEditor(_a) {
6862
6867
  }
6863
6868
  }
6864
6869
  }, rest));
6865
- useEffect7(() => {
6870
+ useEffect8(() => {
6866
6871
  if (editor && value !== editor.getHTML()) {
6867
6872
  editor.commands.setContent(value);
6868
6873
  }
6869
6874
  }, [value, editor]);
6870
- return /* @__PURE__ */ jsx49(Input.Wrapper, { label, flex: 1, error, withAsterisk, children: /* @__PURE__ */ jsxs27(RichTextEditor, { editor, style: { border: error && "1px solid #e03131" }, children: [
6871
- /* @__PURE__ */ jsxs27(RichTextEditor.Toolbar, { hidden: hiddenToolBar, sticky: true, stickyOffset: 60, children: [
6872
- /* @__PURE__ */ jsxs27(RichTextEditor.ControlsGroup, { children: [
6875
+ return /* @__PURE__ */ jsx49(Input.Wrapper, { label, flex: 1, error, withAsterisk, children: /* @__PURE__ */ jsxs26(RichTextEditor, { editor, style: { border: error && "1px solid #e03131" }, children: [
6876
+ /* @__PURE__ */ jsxs26(RichTextEditor.Toolbar, { hidden: hiddenToolBar, sticky: true, stickyOffset: 60, children: [
6877
+ /* @__PURE__ */ jsxs26(RichTextEditor.ControlsGroup, { children: [
6873
6878
  /* @__PURE__ */ jsx49(RichTextEditor.Bold, {}),
6874
6879
  /* @__PURE__ */ jsx49(RichTextEditor.Italic, {}),
6875
6880
  /* @__PURE__ */ jsx49(RichTextEditor.Underline, {}),
@@ -6878,13 +6883,13 @@ function MyTextEditor(_a) {
6878
6883
  /* @__PURE__ */ jsx49(RichTextEditor.Highlight, {}),
6879
6884
  /* @__PURE__ */ jsx49(RichTextEditor.Code, {})
6880
6885
  ] }),
6881
- /* @__PURE__ */ jsxs27(RichTextEditor.ControlsGroup, { children: [
6886
+ /* @__PURE__ */ jsxs26(RichTextEditor.ControlsGroup, { children: [
6882
6887
  /* @__PURE__ */ jsx49(RichTextEditor.H1, {}),
6883
6888
  /* @__PURE__ */ jsx49(RichTextEditor.H2, {}),
6884
6889
  /* @__PURE__ */ jsx49(RichTextEditor.H3, {}),
6885
6890
  /* @__PURE__ */ jsx49(RichTextEditor.H4, {})
6886
6891
  ] }),
6887
- /* @__PURE__ */ jsxs27(RichTextEditor.ControlsGroup, { children: [
6892
+ /* @__PURE__ */ jsxs26(RichTextEditor.ControlsGroup, { children: [
6888
6893
  /* @__PURE__ */ jsx49(RichTextEditor.Blockquote, {}),
6889
6894
  /* @__PURE__ */ jsx49(RichTextEditor.Hr, {}),
6890
6895
  /* @__PURE__ */ jsx49(RichTextEditor.BulletList, {}),
@@ -6892,11 +6897,11 @@ function MyTextEditor(_a) {
6892
6897
  /* @__PURE__ */ jsx49(RichTextEditor.Subscript, {}),
6893
6898
  /* @__PURE__ */ jsx49(RichTextEditor.Superscript, {})
6894
6899
  ] }),
6895
- /* @__PURE__ */ jsxs27(RichTextEditor.ControlsGroup, { children: [
6900
+ /* @__PURE__ */ jsxs26(RichTextEditor.ControlsGroup, { children: [
6896
6901
  /* @__PURE__ */ jsx49(RichTextEditor.Link, {}),
6897
6902
  /* @__PURE__ */ jsx49(RichTextEditor.Unlink, {})
6898
6903
  ] }),
6899
- /* @__PURE__ */ jsxs27(RichTextEditor.ControlsGroup, { children: [
6904
+ /* @__PURE__ */ jsxs26(RichTextEditor.ControlsGroup, { children: [
6900
6905
  /* @__PURE__ */ jsx49(RichTextEditor.AlignLeft, {}),
6901
6906
  /* @__PURE__ */ jsx49(RichTextEditor.AlignCenter, {}),
6902
6907
  /* @__PURE__ */ jsx49(RichTextEditor.AlignJustify, {}),
@@ -6978,7 +6983,7 @@ function F_authenticate_Logout({ redirectURL = "/auth/login" }) {
6978
6983
  }
6979
6984
 
6980
6985
  // src/components/Layouts/BasicAppShell/BasicAppShell.tsx
6981
- import { Fragment as Fragment12, jsx as jsx51, jsxs as jsxs28 } from "react/jsx-runtime";
6986
+ import { Fragment as Fragment12, jsx as jsx51, jsxs as jsxs27 } from "react/jsx-runtime";
6982
6987
  function getRightSection(status) {
6983
6988
  if (status === "Prototype")
6984
6989
  return /* @__PURE__ */ jsx51(Badge2, { styles: { root: { cursor: "pointer" } }, radius: "xs", color: "pink", circle: true, children: "P" });
@@ -7068,7 +7073,7 @@ function BasicAppShell({ children, menu, extraTopRight }) {
7068
7073
  const basicAppShellStore = useS_BasicAppShell();
7069
7074
  const media = useMediaQuery("(min-width: 72em)");
7070
7075
  const selectMedia = useMediaQuery("(min-width: 80em)");
7071
- return /* @__PURE__ */ jsxs28(
7076
+ return /* @__PURE__ */ jsxs27(
7072
7077
  AppShell,
7073
7078
  {
7074
7079
  header: { height: 60 },
@@ -7082,10 +7087,10 @@ function BasicAppShell({ children, menu, extraTopRight }) {
7082
7087
  },
7083
7088
  padding: "md",
7084
7089
  children: [
7085
- /* @__PURE__ */ jsxs28(AppShell.Header, { children: [
7090
+ /* @__PURE__ */ jsxs27(AppShell.Header, { children: [
7086
7091
  /* @__PURE__ */ jsx51(MyAppSpotlight, { menu }),
7087
- media ? /* @__PURE__ */ jsxs28(Group13, { h: "100%", px: "md", justify: "space-between", align: "center", children: [
7088
- /* @__PURE__ */ jsxs28(Group13, { h: "100%", children: [
7092
+ media ? /* @__PURE__ */ jsxs27(Group13, { h: "100%", px: "md", justify: "space-between", align: "center", children: [
7093
+ /* @__PURE__ */ jsxs27(Group13, { h: "100%", children: [
7089
7094
  /* @__PURE__ */ jsx51(
7090
7095
  Tooltip5,
7091
7096
  {
@@ -7124,13 +7129,13 @@ function BasicAppShell({ children, menu, extraTopRight }) {
7124
7129
  children: /* @__PURE__ */ jsx51(Text13, { c: "green", fw: "bold", children: `${basicAppShellStore.state.moduleCode} - ${basicAppShellStore.state.moduleName}` })
7125
7130
  }
7126
7131
  ),
7127
- /* @__PURE__ */ jsxs28(Group13, { children: [
7132
+ /* @__PURE__ */ jsxs27(Group13, { children: [
7128
7133
  extraTopRight,
7129
7134
  /* @__PURE__ */ jsx51(MySwitchTheme, {})
7130
7135
  ] })
7131
7136
  ] }) : (
7132
7137
  // For mobile screens - simplified layout
7133
- /* @__PURE__ */ jsxs28(Group13, { h: "100%", px: "md", justify: "space-between", children: [
7138
+ /* @__PURE__ */ jsxs27(Group13, { h: "100%", px: "md", justify: "space-between", children: [
7134
7139
  /* @__PURE__ */ jsx51(
7135
7140
  ActionIcon10,
7136
7141
  {
@@ -7142,14 +7147,14 @@ function BasicAppShell({ children, menu, extraTopRight }) {
7142
7147
  }
7143
7148
  ),
7144
7149
  /* @__PURE__ */ jsx51(Text13, { c: "green", fw: "bold", size: "sm", children: `${basicAppShellStore.state.moduleCode} - ${basicAppShellStore.state.moduleName}` }),
7145
- /* @__PURE__ */ jsxs28(Group13, { children: [
7150
+ /* @__PURE__ */ jsxs27(Group13, { children: [
7146
7151
  extraTopRight,
7147
7152
  /* @__PURE__ */ jsx51(MySwitchTheme, {})
7148
7153
  ] })
7149
7154
  ] })
7150
7155
  )
7151
7156
  ] }),
7152
- /* @__PURE__ */ jsxs28(AppShell.Navbar, { children: [
7157
+ /* @__PURE__ */ jsxs27(AppShell.Navbar, { children: [
7153
7158
  /* @__PURE__ */ jsx51(
7154
7159
  TextInput2,
7155
7160
  {
@@ -7162,12 +7167,12 @@ function BasicAppShell({ children, menu, extraTopRight }) {
7162
7167
  children: "T\xECm ki\u1EBFm (Ctrl + K)"
7163
7168
  }
7164
7169
  ),
7165
- /* @__PURE__ */ jsxs28(AppShell.Section, { grow: true, component: ScrollArea3, p: 5, children: [
7170
+ /* @__PURE__ */ jsxs27(AppShell.Section, { grow: true, component: ScrollArea3, p: 5, children: [
7166
7171
  /* @__PURE__ */ jsx51(RenderNavLinks, { items: menu }),
7167
7172
  /* @__PURE__ */ jsx51(Divider2, {}),
7168
7173
  /* @__PURE__ */ jsx51(F_authenticate_Logout, {})
7169
7174
  ] }),
7170
- /* @__PURE__ */ jsxs28(AppShell.Section, { p: "md", children: [
7175
+ /* @__PURE__ */ jsxs27(AppShell.Section, { p: "md", children: [
7171
7176
  /* @__PURE__ */ jsx51(Divider2, {}),
7172
7177
  /* @__PURE__ */ jsx51(
7173
7178
  Image3,
@@ -7294,7 +7299,7 @@ function useHeaderMegaMenuStore() {
7294
7299
  }
7295
7300
 
7296
7301
  // src/components/Layouts/HeaderMegaMenu/HeaderMegaMenu.tsx
7297
- import { jsx as jsx53, jsxs as jsxs29 } from "react/jsx-runtime";
7302
+ import { jsx as jsx53, jsxs as jsxs28 } from "react/jsx-runtime";
7298
7303
  var mockdata = [
7299
7304
  {
7300
7305
  icon: IconCode,
@@ -7332,20 +7337,20 @@ function HeaderMegaMenu({ children, menus }) {
7332
7337
  const [linksOpened, { toggle: toggleLinks }] = useDisclosure10(false);
7333
7338
  const HeaderMegaMenuStore = useHeaderMegaMenuStore();
7334
7339
  const theme = useMantineTheme();
7335
- const links = mockdata.map((item) => /* @__PURE__ */ jsx53(UnstyledButton, { className: css_default.subLink, children: /* @__PURE__ */ jsxs29(Group14, { wrap: "nowrap", align: "flex-start", children: [
7340
+ const links = mockdata.map((item) => /* @__PURE__ */ jsx53(UnstyledButton, { className: css_default.subLink, children: /* @__PURE__ */ jsxs28(Group14, { wrap: "nowrap", align: "flex-start", children: [
7336
7341
  /* @__PURE__ */ jsx53(ThemeIcon, { size: 34, variant: "default", radius: "md", children: /* @__PURE__ */ jsx53(item.icon, { size: 22, color: theme.colors.blue[6] }) }),
7337
- /* @__PURE__ */ jsxs29("div", { children: [
7342
+ /* @__PURE__ */ jsxs28("div", { children: [
7338
7343
  /* @__PURE__ */ jsx53(Text14, { size: "sm", fw: 500, children: item.title }),
7339
7344
  /* @__PURE__ */ jsx53(Text14, { size: "xs", c: "dimmed", children: item.description })
7340
7345
  ] })
7341
7346
  ] }) }, item.title));
7342
- return /* @__PURE__ */ jsxs29(Box5, { children: [
7343
- /* @__PURE__ */ jsx53("header", { className: css_default.header, children: /* @__PURE__ */ jsxs29(Group14, { justify: "space-between", h: "100%", children: [
7344
- /* @__PURE__ */ jsxs29(Group14, { children: [
7347
+ return /* @__PURE__ */ jsxs28(Box5, { children: [
7348
+ /* @__PURE__ */ jsx53("header", { className: css_default.header, children: /* @__PURE__ */ jsxs28(Group14, { justify: "space-between", h: "100%", children: [
7349
+ /* @__PURE__ */ jsxs28(Group14, { children: [
7345
7350
  /* @__PURE__ */ jsx53(Image4, { src: "/imgs/0/IMG0LogoAQTech.png", h: 30, alt: "", w: "auto" }),
7346
7351
  /* @__PURE__ */ jsx53(Group14, { h: "100%", gap: 5, visibleFrom: "sm", children: menus == null ? void 0 : menus.map((item, idx) => /* @__PURE__ */ jsx53(Button16, { component: Link4, href: item.href, variant: HeaderMegaMenuStore.state.name == item.label ? "light" : "subtle", onClick: () => HeaderMegaMenuStore.setState({ name: item.label }), children: item.label }, idx)) })
7347
7352
  ] }),
7348
- /* @__PURE__ */ jsxs29(Group14, { children: [
7353
+ /* @__PURE__ */ jsxs28(Group14, { children: [
7349
7354
  /* @__PURE__ */ jsx53(TextInput3, { placeholder: "T\xECm ki\u1EBFm", leftSection: /* @__PURE__ */ jsx53(IconSearch3, {}), radius: "xl", w: "250px" }),
7350
7355
  /* @__PURE__ */ jsx53(MySwitchTheme, {})
7351
7356
  ] }),
@@ -7362,7 +7367,7 @@ function HeaderMegaMenu({ children, menus }) {
7362
7367
  title: "Navigation",
7363
7368
  hiddenFrom: "sm",
7364
7369
  zIndex: 1e6,
7365
- children: /* @__PURE__ */ jsxs29(ScrollArea4, { h: "calc(100vh - 80px", mx: "-md", children: [
7370
+ children: /* @__PURE__ */ jsxs28(ScrollArea4, { h: "calc(100vh - 80px", mx: "-md", children: [
7366
7371
  /* @__PURE__ */ jsx53(Divider3, { my: "sm" }),
7367
7372
  /* @__PURE__ */ jsx53(MyFlexColumn, { h: "100%", gap: 0, children: menus == null ? void 0 : menus.map((item, idx) => /* @__PURE__ */ jsx53(Button16, { component: Link4, href: item.href, variant: HeaderMegaMenuStore.state.name == item.label ? "light" : "subtle", onClick: () => HeaderMegaMenuStore.setState({ name: item.label }), children: item.label }, idx)) }),
7368
7373
  /* @__PURE__ */ jsx53(Divider3, { my: "sm" })
@@ -7374,7 +7379,7 @@ function HeaderMegaMenu({ children, menus }) {
7374
7379
 
7375
7380
  // src/components/Layouts/PageContent/MyPageContent.tsx
7376
7381
  import { Code, Container as Container3, Divider as Divider4, Group as Group15, Indicator, Title } from "@mantine/core";
7377
- import { jsx as jsx54, jsxs as jsxs30 } from "react/jsx-runtime";
7382
+ import { jsx as jsx54, jsxs as jsxs29 } from "react/jsx-runtime";
7378
7383
  var getStatusColor = (status) => {
7379
7384
  switch (status) {
7380
7385
  case "Prototype":
@@ -7399,14 +7404,14 @@ function MyPageContent({
7399
7404
  }) {
7400
7405
  const basicAppShellStore = useS_BasicAppShell();
7401
7406
  const finalTitle = title || basicAppShellStore.state.title;
7402
- return /* @__PURE__ */ jsxs30(Container3, { p: 0, fluid: true, children: [
7403
- /* @__PURE__ */ jsxs30(Group15, { justify: "space-between", children: [
7404
- /* @__PURE__ */ jsxs30(Group15, { children: [
7407
+ return /* @__PURE__ */ jsxs29(Container3, { p: 0, fluid: true, children: [
7408
+ /* @__PURE__ */ jsxs29(Group15, { justify: "space-between", children: [
7409
+ /* @__PURE__ */ jsxs29(Group15, { children: [
7405
7410
  canBack && /* @__PURE__ */ jsx54(MyButtonRouterBack, {}),
7406
7411
  /* @__PURE__ */ jsx54(PageTitle, { title: finalTitle, status }),
7407
7412
  leftTopBar
7408
7413
  ] }),
7409
- /* @__PURE__ */ jsxs30(Group15, { children: [
7414
+ /* @__PURE__ */ jsxs29(Group15, { children: [
7410
7415
  rightTopBar,
7411
7416
  /* @__PURE__ */ jsx54(Code, { color: "var(--mantine-color-blue-light)", children: basicAppShellStore.state.menuCode })
7412
7417
  ] })
@@ -7418,11 +7423,11 @@ function MyPageContent({
7418
7423
 
7419
7424
  // src/components/Layouts/Tab/MyTab.tsx
7420
7425
  import { rem, Space as Space3, Tabs } from "@mantine/core";
7421
- import { jsx as jsx55, jsxs as jsxs31 } from "react/jsx-runtime";
7426
+ import { jsx as jsx55, jsxs as jsxs30 } from "react/jsx-runtime";
7422
7427
  function MyTab(_a) {
7423
7428
  var _b = _a, { tabList, children } = _b, rest = __objRest(_b, ["tabList", "children"]);
7424
7429
  const iconStyle = { width: rem(20), height: rem(20) };
7425
- return /* @__PURE__ */ jsxs31(Tabs, __spreadProps(__spreadValues({ defaultValue: tabList[0].label }, rest), { children: [
7430
+ return /* @__PURE__ */ jsxs30(Tabs, __spreadProps(__spreadValues({ defaultValue: tabList[0].label }, rest), { children: [
7426
7431
  /* @__PURE__ */ jsx55(Tabs.List, { children: tabList.map((item, idx) => {
7427
7432
  return /* @__PURE__ */ jsx55(Tabs.Tab, { value: item.label, leftSection: item.icon && /* @__PURE__ */ jsx55(item.icon, { style: iconStyle }), children: item.label }, idx);
7428
7433
  }) }),
@@ -7435,17 +7440,17 @@ function MyTab(_a) {
7435
7440
  import { ActionIcon as ActionIcon11, Button as Button17, Fieldset as Fieldset5, Group as Group16, Modal as Modal11 } from "@mantine/core";
7436
7441
  import { useDisclosure as useDisclosure11 } from "@mantine/hooks";
7437
7442
  import { IconX as IconX2 } from "@tabler/icons-react";
7438
- import { jsx as jsx56, jsxs as jsxs32 } from "react/jsx-runtime";
7443
+ import { jsx as jsx56, jsxs as jsxs31 } from "react/jsx-runtime";
7439
7444
  function MyDataTableSelect(_a) {
7440
7445
  var _b = _a, { modalSize, renderTopToolbarCustomActions, data, selectButtonlabel, listState, columns, listLabel } = _b, rest = __objRest(_b, ["modalSize", "renderTopToolbarCustomActions", "data", "selectButtonlabel", "listState", "columns", "listLabel"]);
7441
7446
  const disc = useDisclosure11(false);
7442
7447
  if (data == void 0) return "\u0110ang t\u1EA3i...";
7443
- return /* @__PURE__ */ jsxs32(Fieldset5, { legend: listLabel ? listLabel : "Danh s\xE1ch", children: [
7448
+ return /* @__PURE__ */ jsxs31(Fieldset5, { legend: listLabel ? listLabel : "Danh s\xE1ch", children: [
7444
7449
  /* @__PURE__ */ jsx56(
7445
7450
  MyDataTable,
7446
7451
  __spreadValues({
7447
7452
  renderTopToolbarCustomActions: ({ table }) => {
7448
- return /* @__PURE__ */ jsxs32(Group16, { children: [
7453
+ return /* @__PURE__ */ jsxs31(Group16, { children: [
7449
7454
  renderTopToolbarCustomActions && renderTopToolbarCustomActions({ table }),
7450
7455
  /* @__PURE__ */ jsx56(Button17, { onClick: disc[1].open, children: selectButtonlabel || "Ch\u1ECDn t\u1EEB danh s\xE1ch" })
7451
7456
  ] });
@@ -7509,7 +7514,7 @@ function MySelectAPIGet(_a) {
7509
7514
  // src/components/ScheduleX/MyScheduleX.tsx
7510
7515
  import { useNextCalendarApp as useNextCalendarApp2, ScheduleXCalendar as ScheduleXCalendar2 } from "@schedule-x/react";
7511
7516
  import { createEventsServicePlugin as createEventsServicePlugin2 } from "@schedule-x/events-service";
7512
- import { useState as useState8 } from "react";
7517
+ import { useState as useState9 } from "react";
7513
7518
  import { createEventModalPlugin as createEventModalPlugin2 } from "@schedule-x/event-modal";
7514
7519
  import { jsx as jsx58 } from "react/jsx-runtime";
7515
7520
  function MyScheduleX({
@@ -7520,8 +7525,8 @@ function MyScheduleX({
7520
7525
  startDayBoundaries = "05:00",
7521
7526
  endDayBoundaries = "21:00"
7522
7527
  }) {
7523
- const eventsService = useState8(() => createEventsServicePlugin2())[0];
7524
- const eventModalPlugin = useState8(() => createEventModalPlugin2())[0];
7528
+ const eventsService = useState9(() => createEventsServicePlugin2())[0];
7529
+ const eventModalPlugin = useState9(() => createEventModalPlugin2())[0];
7525
7530
  const calendar = useNextCalendarApp2({
7526
7531
  locale: "vi-VN",
7527
7532
  dayBoundaries: {
@@ -83,7 +83,7 @@ interface IActionIconViewPDF extends ActionIconProps {
83
83
  }
84
84
  declare function MyActionIconViewPDF({ modalSize, pdfLink, ...rest }: IActionIconViewPDF): react_jsx_runtime.JSX.Element;
85
85
 
86
- declare function MySwitchTheme(): react_jsx_runtime.JSX.Element;
86
+ declare function MySwitchTheme(): react_jsx_runtime.JSX.Element | null;
87
87
 
88
88
  declare function MyAppSpotlight({ menu }: {
89
89
  menu: I_BasicAppShell_LinkItem[];
@@ -66,7 +66,7 @@ import {
66
66
  useS_BasicAppShell,
67
67
  useS_ButtonImport,
68
68
  utils_layout_getItemsWithoutLinks
69
- } from "../chunk-MOP3KCFQ.mjs";
69
+ } from "../chunk-ATY4QSCJ.mjs";
70
70
  import "../chunk-Z6OQG54Q.mjs";
71
71
  import "../chunk-Y3YGC5IH.mjs";
72
72
  import "../chunk-5U2JSHSJ.mjs";
@@ -24,7 +24,7 @@ import {
24
24
  groupToTwoLevels,
25
25
  useS_authenticate,
26
26
  utils_layout_getItemsWithoutLinks
27
- } from "../chunk-MOP3KCFQ.mjs";
27
+ } from "../chunk-ATY4QSCJ.mjs";
28
28
  import {
29
29
  baseAxios_default,
30
30
  useQ_AQ_GetAQModule
package/package.json CHANGED
@@ -22,7 +22,7 @@
22
22
  "types": "./dist/hooks/index.d.mts"
23
23
  }
24
24
  },
25
- "version": "0.1.146",
25
+ "version": "0.1.148",
26
26
  "private": false,
27
27
  "files": [
28
28
  "dist"