aq-fe-framework 0.1.841 → 0.1.843

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.
@@ -2,6 +2,16 @@ import {
2
2
  createGenericStore,
3
3
  useStore_Permission
4
4
  } from "./chunk-SUH3FFFV.mjs";
5
+ import {
6
+ baseAxios_default,
7
+ createBaseApi,
8
+ useConfig,
9
+ useEditableRows,
10
+ useMyDevice,
11
+ useMyReactMutation,
12
+ useMyReactQuery,
13
+ useQ_AQ_GetAQModule
14
+ } from "./chunk-KQK2YVLS.mjs";
5
15
  import {
6
16
  utils_date
7
17
  } from "./chunk-IFV3VC5B.mjs";
@@ -16,6 +26,9 @@ import {
16
26
  utils_mantineReactTable_sortColumnsByKeyOrder,
17
27
  utils_pdf_download
18
28
  } from "./chunk-RJH5TVHS.mjs";
29
+ import {
30
+ utils_notification_show
31
+ } from "./chunk-7ZCOFATU.mjs";
19
32
  import {
20
33
  utils_converter_enumToSelectOptions,
21
34
  utils_converter_mapEnumToSelectData
@@ -34,19 +47,6 @@ import {
34
47
  import {
35
48
  enum_daysOfWeek
36
49
  } from "./chunk-K6S7R6LU.mjs";
37
- import {
38
- baseAxios_default,
39
- createBaseApi,
40
- useConfig,
41
- useEditableRows,
42
- useMyDevice,
43
- useMyReactMutation,
44
- useMyReactQuery,
45
- useQ_AQ_GetAQModule
46
- } from "./chunk-KQK2YVLS.mjs";
47
- import {
48
- utils_notification_show
49
- } from "./chunk-7ZCOFATU.mjs";
50
50
  import {
51
51
  __objRest,
52
52
  __spreadProps,
@@ -554,16 +554,18 @@ function MyButtonPrintPDF({
554
554
  }
555
555
 
556
556
  // src/core/button/MyButtonViewFile.tsx
557
- import { Button as Button4, Text } from "@mantine/core";
557
+ import { Button as Button4, Center, Loader, Text } from "@mantine/core";
558
558
  import { useDisclosure as useDisclosure2 } from "@mantine/hooks";
559
559
  import { Fragment as Fragment4, jsx as jsx10, jsxs as jsxs5 } from "react/jsx-runtime";
560
560
  function MyButtonViewFile(_a) {
561
561
  var _b = _a, {
562
562
  file,
563
- disclosure
563
+ disclosure,
564
+ loading
564
565
  } = _b, rest = __objRest(_b, [
565
566
  "file",
566
- "disclosure"
567
+ "disclosure",
568
+ "loading"
567
569
  ]);
568
570
  const internalDisc = useDisclosure2();
569
571
  const disc = disclosure || internalDisc;
@@ -602,7 +604,7 @@ function MyButtonViewFile(_a) {
602
604
  MyButtonModal,
603
605
  __spreadProps(__spreadValues({
604
606
  disclosure: disc,
605
- modalProps: { title: "Xem t\xE0i li\u1EC7u tr\u1EF1c ti\u1EBFp", size: "80%" }
607
+ modalProps: { title: "Xem t\xE0i li\u1EC7u tr\u1EF1c ti\u1EBFp", size: isPreviewable(file == null ? void 0 : file.fileExtension) ? "80%" : "auto" }
606
608
  }, rest), {
607
609
  toolTipProps: __spreadValues({
608
610
  label: file ? void 0 : "Kh\xF4ng c\xF3 file \u0111\u1EC3 hi\u1EC3n th\u1ECB"
@@ -613,7 +615,7 @@ function MyButtonViewFile(_a) {
613
615
  actionIconProps: __spreadValues({
614
616
  actionType: "viewFile"
615
617
  }, rest.actionIconProps),
616
- children: file && isPreviewable(file.fileExtension) ? /* @__PURE__ */ jsx10(
618
+ children: loading ? /* @__PURE__ */ jsx10(Center, { style: { width: "100%", height: "80vh" }, children: /* @__PURE__ */ jsx10(Loader, { size: "lg" }) }) : file && isPreviewable(file.fileExtension) ? /* @__PURE__ */ jsx10(
617
619
  "iframe",
618
620
  {
619
621
  src: `data:${getMimeType(file.fileExtension)};base64,${file.fileBase64String}`,
@@ -646,6 +648,7 @@ function MyButtonViewFileAPI({ filePath }) {
646
648
  MyButtonViewFile,
647
649
  {
648
650
  file: query.data,
651
+ loading: query.isLoading,
649
652
  disclosure: disc,
650
653
  toolTipProps: { label: filePath ? void 0 : "Kh\xF4ng c\xF3 \u0111\u01B0\u1EDDng d\u1EABn file" },
651
654
  buttonProps: { disabled: filePath == void 0 }
@@ -686,7 +689,7 @@ function CustomThemeIconSquareCheck({ checked }) {
686
689
  }
687
690
 
688
691
  // src/components/DataDisplay/DataTable/MyDataTable.tsx
689
- import { Alert, Center, Group, Portal, Text as Text2 } from "@mantine/core";
692
+ import { Alert, Center as Center2, Group, Portal, Text as Text2 } from "@mantine/core";
690
693
  import { IconBug } from "@tabler/icons-react";
691
694
  import {
692
695
  MantineReactTable,
@@ -785,7 +788,7 @@ function MyDataTable(_a) {
785
788
  }
786
789
  },
787
790
  localization: MRT_Localization_VI,
788
- renderEmptyRowsFallback: () => isError ? /* @__PURE__ */ jsx13(Alert, { icon: /* @__PURE__ */ jsx13(IconBug, {}), color: "red", title: "C\xF3 l\u1ED7i x\u1EA3y ra!", m: "md" }) : /* @__PURE__ */ jsxs6(Center, { p: "md", children: [
791
+ renderEmptyRowsFallback: () => isError ? /* @__PURE__ */ jsx13(Alert, { icon: /* @__PURE__ */ jsx13(IconBug, {}), color: "red", title: "C\xF3 l\u1ED7i x\u1EA3y ra!", m: "md" }) : /* @__PURE__ */ jsxs6(Center2, { p: "md", children: [
789
792
  " ",
790
793
  /* @__PURE__ */ jsx13(Text2, { c: "gray", fw: "600", size: "15px", fs: "italic", children: "Kh\xF4ng c\xF3 d\u1EEF li\u1EC7u!" })
791
794
  ] }),
@@ -858,10 +861,10 @@ function MyDataTableSelectOne({
858
861
  }
859
862
 
860
863
  // src/components/CenterFull/MyCenterFull.tsx
861
- import { Center as Center2, Group as Group2 } from "@mantine/core";
864
+ import { Center as Center3, Group as Group2 } from "@mantine/core";
862
865
  import { jsx as jsx15 } from "react/jsx-runtime";
863
866
  function MyCenterFull({ children }) {
864
- return /* @__PURE__ */ jsx15(Center2, { w: "100%", children: /* @__PURE__ */ jsx15(Group2, { children }) });
867
+ return /* @__PURE__ */ jsx15(Center3, { w: "100%", children: /* @__PURE__ */ jsx15(Group2, { children }) });
865
868
  }
866
869
 
867
870
  // src/core/dataDisplay/MyDataTableStagedChanges.tsx
@@ -1286,7 +1289,7 @@ function MyRichTextEditor(props) {
1286
1289
  }
1287
1290
 
1288
1291
  // src/core/input/MySelect.tsx
1289
- import { Loader, Select } from "@mantine/core";
1292
+ import { Loader as Loader2, Select } from "@mantine/core";
1290
1293
  import React from "react";
1291
1294
  import { jsx as jsx29 } from "react/jsx-runtime";
1292
1295
  function extractTextFromReactNode(node) {
@@ -1314,7 +1317,7 @@ function MySelect(_a) {
1314
1317
  label,
1315
1318
  placeholder,
1316
1319
  error: isError ? true : void 0,
1317
- rightSection: isLoading ? /* @__PURE__ */ jsx29(Loader, { size: "xs" }) : void 0,
1320
+ rightSection: isLoading ? /* @__PURE__ */ jsx29(Loader2, { size: "xs" }) : void 0,
1318
1321
  disabled: isLoading || isError,
1319
1322
  styles: (theme) => ({
1320
1323
  input: rest.readOnly ? {
@@ -1431,7 +1434,7 @@ function MyTextInput2(_a) {
1431
1434
  // src/core/input/MyWeeklySessionSchedulerPicker.tsx
1432
1435
  import {
1433
1436
  Button as Button5,
1434
- Center as Center3,
1437
+ Center as Center4,
1435
1438
  Divider,
1436
1439
  Group as Group7,
1437
1440
  NumberInput as NumberInput2,
@@ -1473,7 +1476,7 @@ function MyWeeklySessionSchedulerPicker({
1473
1476
  }, {});
1474
1477
  const getLabel = (day) => enum_daysOfWeek[day] || `Day ${day}`;
1475
1478
  return /* @__PURE__ */ jsx32(Paper2, { w: "100%", p: "md", children: /* @__PURE__ */ jsxs13(MyFlexColumn2, { children: [
1476
- /* @__PURE__ */ jsx32(Center3, { children: /* @__PURE__ */ jsx32(
1479
+ /* @__PURE__ */ jsx32(Center4, { children: /* @__PURE__ */ jsx32(
1477
1480
  MyDayOfWeekPicker,
1478
1481
  {
1479
1482
  value: selectedDays,
@@ -1484,7 +1487,7 @@ function MyWeeklySessionSchedulerPicker({
1484
1487
  }
1485
1488
  ) }),
1486
1489
  /* @__PURE__ */ jsx32(Divider, { my: "xs" }),
1487
- /* @__PURE__ */ jsx32(Center3, { children: /* @__PURE__ */ jsx32(ScrollArea3.Autosize, { h: "40vh", children: /* @__PURE__ */ jsx32(MyFlexColumn2, { w: { base: "100%", sm: "70%" }, children: selectedDays.map((dayOfWeek) => {
1490
+ /* @__PURE__ */ jsx32(Center4, { children: /* @__PURE__ */ jsx32(ScrollArea3.Autosize, { h: "40vh", children: /* @__PURE__ */ jsx32(MyFlexColumn2, { w: { base: "100%", sm: "70%" }, children: selectedDays.map((dayOfWeek) => {
1488
1491
  var _a;
1489
1492
  return /* @__PURE__ */ jsxs13(
1490
1493
  Paper2,
@@ -1688,15 +1691,15 @@ function MyCardioLoader() {
1688
1691
  }
1689
1692
 
1690
1693
  // src/components/Aceternity/BoxesBackground/MyBoxesBackground.tsx
1691
- import { Center as Center4, Space as Space2, Text as Text9 } from "@mantine/core";
1694
+ import { Center as Center5, Space as Space2, Text as Text9 } from "@mantine/core";
1692
1695
  import { jsx as jsx37, jsxs as jsxs14 } from "react/jsx-runtime";
1693
1696
  function MyBoxesBackground({ title, desc = "\u0110\u01B0\u1EE3c ph\xE1t tri\u1EC3n b\u1EDFi c\xF4ng ty c\xF4ng ngh\u1EC7 Anh Qu\xE2n." }) {
1694
1697
  return /* @__PURE__ */ jsxs14("div", { className: "h-[100vh] relative w-full overflow-hidden bg-slate-900 flex flex-col items-center justify-center rounded-lg", children: [
1695
1698
  /* @__PURE__ */ jsx37("div", { className: "absolute inset-0 w-full h-full bg-slate-900 z-20 [mask-image:radial-gradient(transparent,white)] pointer-events-none" }),
1696
1699
  /* @__PURE__ */ jsx37(MyBoxesCore, {}),
1697
- /* @__PURE__ */ jsx37(Center4, { className: "z-20", children: /* @__PURE__ */ jsx37(MyCardioLoader, {}) }),
1700
+ /* @__PURE__ */ jsx37(Center5, { className: "z-20", children: /* @__PURE__ */ jsx37(MyCardioLoader, {}) }),
1698
1701
  /* @__PURE__ */ jsx37(Space2, { my: 7 }),
1699
- /* @__PURE__ */ jsx37(Center4, { children: /* @__PURE__ */ jsx37(Text9, { className: "z-20", fs: "italic", fw: "bold", c: "white", children: "\u0110ang t\u1EA3i..." }) }),
1702
+ /* @__PURE__ */ jsx37(Center5, { children: /* @__PURE__ */ jsx37(Text9, { className: "z-20", fs: "italic", fw: "bold", c: "white", children: "\u0110ang t\u1EA3i..." }) }),
1700
1703
  /* @__PURE__ */ jsx37(Space2, { my: 7 }),
1701
1704
  /* @__PURE__ */ jsx37("h1", { className: cn("md:text-4xl text-xl text-white relative z-20"), children: title }),
1702
1705
  /* @__PURE__ */ jsx37("p", { className: "text-center mt-2 text-neutral-300 relative z-20", children: desc })
@@ -8268,7 +8271,7 @@ function MyCheckbox(_a) {
8268
8271
  }
8269
8272
 
8270
8273
  // src/components/DataDisplay/Card/AQCard.tsx
8271
- import { Badge as Badge3, Card as Card3, Center as Center5, Image, Text as Text16 } from "@mantine/core";
8274
+ import { Badge as Badge3, Card as Card3, Center as Center6, Image, Text as Text16 } from "@mantine/core";
8272
8275
  import Link2 from "next/link";
8273
8276
  import { jsx as jsx68, jsxs as jsxs34 } from "react/jsx-runtime";
8274
8277
  function AQCard({
@@ -8281,7 +8284,7 @@ function AQCard({
8281
8284
  href = ""
8282
8285
  }) {
8283
8286
  return /* @__PURE__ */ jsxs34(Card3, { shadow: "sm", padding: "lg", radius: "md", withBorder: true, component: Link2, href, children: [
8284
- /* @__PURE__ */ jsx68(Card3.Section, { children: /* @__PURE__ */ jsx68(Center5, { children: /* @__PURE__ */ jsx68(
8287
+ /* @__PURE__ */ jsx68(Card3.Section, { children: /* @__PURE__ */ jsx68(Center6, { children: /* @__PURE__ */ jsx68(
8285
8288
  Image,
8286
8289
  {
8287
8290
  src: imgSrc,
@@ -10154,7 +10157,7 @@ function Permission_SaveMenuPermission({
10154
10157
  import { useEffect as useEffect18, useState as useState16 } from "react";
10155
10158
 
10156
10159
  // src/module/Permission/usecase/UseCase_PermissionViewCheckTable.tsx
10157
- import { Center as Center6, Checkbox as Checkbox6, Flex as Flex7, Paper as Paper10, ScrollArea as ScrollArea5, Skeleton, Stack as Stack6, Table as Table4, Text as Text22 } from "@mantine/core";
10160
+ import { Center as Center7, Checkbox as Checkbox6, Flex as Flex7, Paper as Paper10, ScrollArea as ScrollArea5, Skeleton, Stack as Stack6, Table as Table4, Text as Text22 } from "@mantine/core";
10158
10161
  import { IconEye, IconFileExport as IconFileExport3, IconPencil as IconPencil3, IconPlus as IconPlus9, IconPrinter as IconPrinter6, IconTrash as IconTrash8 } from "@tabler/icons-react";
10159
10162
  import React3 from "react";
10160
10163
  import { jsx as jsx93, jsxs as jsxs49 } from "react/jsx-runtime";
@@ -10252,7 +10255,7 @@ function UseCase_PermissionViewCheckTable({ value = [], onChange, isLoading }) {
10252
10255
  ] }) }),
10253
10256
  permissionKeys.map((key, pIdx) => {
10254
10257
  var _a;
10255
- return /* @__PURE__ */ jsx93(Table4.Td, { children: /* @__PURE__ */ jsx93(Center6, { children: /* @__PURE__ */ jsx93(
10258
+ return /* @__PURE__ */ jsx93(Table4.Td, { children: /* @__PURE__ */ jsx93(Center7, { children: /* @__PURE__ */ jsx93(
10256
10259
  Checkbox6,
10257
10260
  {
10258
10261
  checked: (_a = menu[key]) != null ? _a : false,
@@ -10689,7 +10692,7 @@ function Adapter_UserDeleteList({ values }) {
10689
10692
  import { useDisclosure as useDisclosure15 } from "@mantine/hooks";
10690
10693
 
10691
10694
  // src/modules/User/usecase/Usecase_UserAsyncFromEdusoftnet.tsx
10692
- import { Button as Button19, Center as Center7, Modal as Modal16, Text as Text23 } from "@mantine/core";
10695
+ import { Button as Button19, Center as Center8, Modal as Modal16, Text as Text23 } from "@mantine/core";
10693
10696
  import { IconRefresh } from "@tabler/icons-react";
10694
10697
  import { Fragment as Fragment19, jsx as jsx102, jsxs as jsxs53 } from "react/jsx-runtime";
10695
10698
  function Usecase_UserAsyncFromEdusoftnet({
@@ -10701,7 +10704,7 @@ function Usecase_UserAsyncFromEdusoftnet({
10701
10704
  /* @__PURE__ */ jsx102(Button19, { color: "green", loading: isLoading, leftSection: /* @__PURE__ */ jsx102(IconRefresh, {}), onClick: onStartSync, children: "\u0110\u1ED3ng b\u1ED9 t\u1EEB Edusoft.Net" }),
10702
10705
  /* @__PURE__ */ jsxs53(Modal16, { title: "Th\xF4ng b\xE1o \u0111\u1ED3ng b\u1ED9", onClose: disclosure[1].close, opened: disclosure[0], children: [
10703
10706
  /* @__PURE__ */ jsx102(Text23, { children: `\u0110\xE3 \u0111\u1ED3ng b\u1ED9 t\xE0i kho\u1EA3n ng\u01B0\u1EDDi d\xF9ng t\u1EEB h\u1EC7 th\u1ED1ng Edusoft.NET v\u1EDBi tr\u1EA1ng th\xE1i "\u0110ang ho\u1EA1t \u0111\u1ED9ng". B\u1EA1n vui l\xF2ng ki\u1EC3m tra l\u1EA1i` }),
10704
- /* @__PURE__ */ jsx102(Center7, { children: /* @__PURE__ */ jsx102(Button19, { onClick: disclosure[1].close, children: "\u0110\u1ED3ng \xFD" }) })
10707
+ /* @__PURE__ */ jsx102(Center8, { children: /* @__PURE__ */ jsx102(Button19, { onClick: disclosure[1].close, children: "\u0110\u1ED3ng \xFD" }) })
10705
10708
  ] })
10706
10709
  ] });
10707
10710
  }
@@ -14941,7 +14944,7 @@ var mockData2 = [
14941
14944
  import { useEffect as useEffect29 } from "react";
14942
14945
 
14943
14946
  // src/modules-features/admin/core/moduleConfig/F_moduleConfig_Form.tsx
14944
- import { Center as Center8, Grid as Grid9, Image as Image3, Paper as Paper14 } from "@mantine/core";
14947
+ import { Center as Center9, Grid as Grid9, Image as Image3, Paper as Paper14 } from "@mantine/core";
14945
14948
  import { useForm as useForm31 } from "@mantine/form";
14946
14949
  import { useEffect as useEffect28 } from "react";
14947
14950
 
@@ -15094,7 +15097,7 @@ function F_moduleConfig_Form() {
15094
15097
  }
15095
15098
  }
15096
15099
  ),
15097
- /* @__PURE__ */ jsx190(Paper14, { w: "100%", children: /* @__PURE__ */ jsx190(Center8, { children: /* @__PURE__ */ jsx190(
15100
+ /* @__PURE__ */ jsx190(Paper14, { w: "100%", children: /* @__PURE__ */ jsx190(Center9, { children: /* @__PURE__ */ jsx190(
15098
15101
  Image3,
15099
15102
  {
15100
15103
  fit: "contain",
@@ -15120,7 +15123,7 @@ function F_moduleConfig_Form() {
15120
15123
  }
15121
15124
  }
15122
15125
  ),
15123
- /* @__PURE__ */ jsx190(Paper14, { children: /* @__PURE__ */ jsx190(Center8, { children: /* @__PURE__ */ jsx190(
15126
+ /* @__PURE__ */ jsx190(Paper14, { children: /* @__PURE__ */ jsx190(Center9, { children: /* @__PURE__ */ jsx190(
15124
15127
  Image3,
15125
15128
  {
15126
15129
  fit: "contain",
@@ -17288,7 +17291,7 @@ import {
17288
17291
  Anchor as Anchor2,
17289
17292
  BackgroundImage,
17290
17293
  Button as Button23,
17291
- Center as Center9,
17294
+ Center as Center10,
17292
17295
  Checkbox as Checkbox8,
17293
17296
  Flex as Flex8,
17294
17297
  Group as Group36,
@@ -17406,7 +17409,7 @@ function Feat_Authenticate_Login({
17406
17409
  {
17407
17410
  src: backgroundImage,
17408
17411
  h: "100vh",
17409
- children: /* @__PURE__ */ jsx239(Center9, { h: "100vh", children: /* @__PURE__ */ jsxs131(Paper15, { withBorder: true, w: 400, m: "md", shadow: "md", p: 30, mt: 30, radius: "md", children: [
17412
+ children: /* @__PURE__ */ jsx239(Center10, { h: "100vh", children: /* @__PURE__ */ jsxs131(Paper15, { withBorder: true, w: 400, m: "md", shadow: "md", p: 30, mt: 30, radius: "md", children: [
17410
17413
  header ? header : /* @__PURE__ */ jsxs131(Flex8, { direction: "column", mb: "md", children: [
17411
17414
  /* @__PURE__ */ jsx239(Title2, { ta: "center", fw: "900", children: "\u0110\u0103ng nh\u1EADp!" }),
17412
17415
  /* @__PURE__ */ jsxs131(Text24, { c: "dimmed", size: "sm", ta: "center", mt: 5, children: [
@@ -17585,7 +17588,7 @@ function F_authenticate_SplashPage() {
17585
17588
  }
17586
17589
 
17587
17590
  // src/modules-features/authenticate/tokenExpired/Feat_TokenExpired.tsx
17588
- import { Button as Button25, Card as Card4, CardSection, Center as Center10, Text as Text25, Title as Title3 } from "@mantine/core";
17591
+ import { Button as Button25, Card as Card4, CardSection, Center as Center11, Text as Text25, Title as Title3 } from "@mantine/core";
17589
17592
  import { Clock, LogIn, Shield } from "lucide-react";
17590
17593
  import { jsx as jsx243, jsxs as jsxs133 } from "react/jsx-runtime";
17591
17594
  function Feat_TokenExpired({
@@ -17601,7 +17604,7 @@ function Feat_TokenExpired({
17601
17604
  ] }),
17602
17605
  /* @__PURE__ */ jsxs133(Card4, { className: "relative backdrop-blur-sm bg-white/80 border-0 shadow-2xl shadow-blue-500/10 py-12 px-8 rounded-xl", children: [
17603
17606
  /* @__PURE__ */ jsxs133(CardSection, { className: "text-center space-y-6 pb-8", children: [
17604
- /* @__PURE__ */ jsx243("div", { className: "relative", children: /* @__PURE__ */ jsx243(Center10, { children: /* @__PURE__ */ jsx243("div", { className: "w-20 h-20 bg-gradient-to-br from-orange-400 to-red-500 rounded-full flex items-center justify-center shadow-lg shadow-orange-500/25 animate-pulse", children: /* @__PURE__ */ jsx243(Clock, { className: "w-10 h-10 text-white" }) }) }) }),
17607
+ /* @__PURE__ */ jsx243("div", { className: "relative", children: /* @__PURE__ */ jsx243(Center11, { children: /* @__PURE__ */ jsx243("div", { className: "w-20 h-20 bg-gradient-to-br from-orange-400 to-red-500 rounded-full flex items-center justify-center shadow-lg shadow-orange-500/25 animate-pulse", children: /* @__PURE__ */ jsx243(Clock, { className: "w-10 h-10 text-white" }) }) }) }),
17605
17608
  /* @__PURE__ */ jsxs133("div", { className: "space-y-3", children: [
17606
17609
  /* @__PURE__ */ jsx243(Title3, { className: "text-3xl font-bold bg-gradient-to-r from-gray-800 to-gray-600 bg-clip-text text-transparent", children: "Phi\xEAn \u0111\u0103ng nh\u1EADp \u0111\xE3 h\u1EBFt h\u1EA1n" }),
17607
17610
  /* @__PURE__ */ jsxs133(Text25, { className: "text-gray-600 text-base leading-relaxed px-2", children: [
@@ -18219,7 +18222,7 @@ var service_aq = __spreadProps(__spreadValues({}, createBaseApi(CONTROLLER12, ba
18219
18222
  });
18220
18223
 
18221
18224
  // src/components/Layouts/PageContent/MyPageContent.tsx
18222
- import { Badge as Badge6, Breadcrumbs, Center as Center11, Container as Container3, Divider as Divider6, Flex as Flex10, Group as Group40, Stack as Stack12, Text as Text29, Title as Title4, Tooltip as Tooltip8 } from "@mantine/core";
18225
+ import { Badge as Badge6, Breadcrumbs, Center as Center12, Container as Container3, Divider as Divider6, Flex as Flex10, Group as Group40, Stack as Stack12, Text as Text29, Title as Title4, Tooltip as Tooltip8 } from "@mantine/core";
18223
18226
  import { useDisclosure as useDisclosure21 } from "@mantine/hooks";
18224
18227
  import { IconBrandParsinta } from "@tabler/icons-react";
18225
18228
  import { useEffect as useEffect38 } from "react";
@@ -18332,7 +18335,7 @@ function MyPageContent({
18332
18335
  disabled: basicAppShellStore.state.videoLink == void 0 || basicAppShellStore.state.videoLink == "",
18333
18336
  color: "red"
18334
18337
  },
18335
- children: /* @__PURE__ */ jsx249(Center11, { h: "67vh", p: "md", children: getFinalLinkVieo(basicAppShellStore.state.videoLink || "") == "" ? "\u0110\u01B0\u1EDDng d\u1EABn video kh\xF4ng h\u1EE3p l\u1EC7" : /* @__PURE__ */ jsx249(
18338
+ children: /* @__PURE__ */ jsx249(Center12, { h: "67vh", p: "md", children: getFinalLinkVieo(basicAppShellStore.state.videoLink || "") == "" ? "\u0110\u01B0\u1EDDng d\u1EABn video kh\xF4ng h\u1EE3p l\u1EC7" : /* @__PURE__ */ jsx249(
18336
18339
  "iframe",
18337
18340
  {
18338
18341
  width: "90%",
@@ -70,18 +70,18 @@ import {
70
70
  useHeaderMegaMenuStore,
71
71
  useS_ButtonImport,
72
72
  useStore_BasicAppShell
73
- } from "../chunk-YSTK5GYG.mjs";
73
+ } from "../chunk-NBTLA7EX.mjs";
74
74
  import "../chunk-SUH3FFFV.mjs";
75
+ import "../chunk-KQK2YVLS.mjs";
75
76
  import "../chunk-IFV3VC5B.mjs";
77
+ import "../chunk-WZ6PXGGC.mjs";
76
78
  import "../chunk-RJH5TVHS.mjs";
79
+ import "../chunk-7ZCOFATU.mjs";
77
80
  import "../chunk-7NNLZDND.mjs";
78
81
  import "../chunk-O7YCQQO5.mjs";
79
82
  import "../chunk-QSWIVDXC.mjs";
80
83
  import "../chunk-KAC7JMQB.mjs";
81
84
  import "../chunk-K6S7R6LU.mjs";
82
- import "../chunk-KQK2YVLS.mjs";
83
- import "../chunk-WZ6PXGGC.mjs";
84
- import "../chunk-7ZCOFATU.mjs";
85
85
  import "../chunk-FWCSY2DS.mjs";
86
86
  export {
87
87
  AQButtonCreateByImportFile,
@@ -97,8 +97,9 @@ declare function MyButtonPrintPDF({ children, autoPadding, buttonProps, useReact
97
97
  interface MyButtonViewFile extends Omit<MyButtonModalProps, "disclosure"> {
98
98
  file?: IAQFileDetail;
99
99
  disclosure?: ReturnType<typeof useDisclosure>;
100
+ loading?: boolean;
100
101
  }
101
- declare function MyButtonViewFile({ file, disclosure, ...rest }: MyButtonViewFile): react_jsx_runtime.JSX.Element;
102
+ declare function MyButtonViewFile({ file, disclosure, loading, ...rest }: MyButtonViewFile): react_jsx_runtime.JSX.Element;
102
103
 
103
104
  declare function MyButtonViewFileAPI({ filePath }: {
104
105
  filePath?: string;
@@ -30,18 +30,18 @@ import {
30
30
  MyStatsCard,
31
31
  MyTextInput2 as MyTextInput,
32
32
  MyWeeklySessionSchedulerPicker
33
- } from "../chunk-YSTK5GYG.mjs";
33
+ } from "../chunk-NBTLA7EX.mjs";
34
34
  import "../chunk-SUH3FFFV.mjs";
35
+ import "../chunk-KQK2YVLS.mjs";
35
36
  import "../chunk-IFV3VC5B.mjs";
37
+ import "../chunk-WZ6PXGGC.mjs";
36
38
  import "../chunk-RJH5TVHS.mjs";
39
+ import "../chunk-7ZCOFATU.mjs";
37
40
  import "../chunk-7NNLZDND.mjs";
38
41
  import "../chunk-O7YCQQO5.mjs";
39
42
  import "../chunk-QSWIVDXC.mjs";
40
43
  import "../chunk-KAC7JMQB.mjs";
41
44
  import "../chunk-K6S7R6LU.mjs";
42
- import "../chunk-KQK2YVLS.mjs";
43
- import "../chunk-WZ6PXGGC.mjs";
44
- import "../chunk-7ZCOFATU.mjs";
45
45
  import "../chunk-FWCSY2DS.mjs";
46
46
  export {
47
47
  CustomAutocomplete,
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  MyModalDelete
3
- } from "../chunk-YSTK5GYG.mjs";
3
+ } from "../chunk-NBTLA7EX.mjs";
4
4
  import "../chunk-SUH3FFFV.mjs";
5
+ import {
6
+ useMyReactMutation
7
+ } from "../chunk-KQK2YVLS.mjs";
5
8
  import "../chunk-IFV3VC5B.mjs";
9
+ import "../chunk-WZ6PXGGC.mjs";
6
10
  import "../chunk-RJH5TVHS.mjs";
11
+ import "../chunk-7ZCOFATU.mjs";
7
12
  import "../chunk-7NNLZDND.mjs";
8
13
  import "../chunk-O7YCQQO5.mjs";
9
14
  import "../chunk-QSWIVDXC.mjs";
10
15
  import "../chunk-KAC7JMQB.mjs";
11
16
  import "../chunk-K6S7R6LU.mjs";
12
- import {
13
- useMyReactMutation
14
- } from "../chunk-KQK2YVLS.mjs";
15
- import "../chunk-WZ6PXGGC.mjs";
16
- import "../chunk-7ZCOFATU.mjs";
17
17
  import {
18
18
  __objRest,
19
19
  __spreadValues
@@ -113,18 +113,18 @@ import {
113
113
  MailTemplateDeleteButton,
114
114
  useS_moduleConfig,
115
115
  useStore_Authenticate
116
- } from "../chunk-YSTK5GYG.mjs";
116
+ } from "../chunk-NBTLA7EX.mjs";
117
117
  import "../chunk-SUH3FFFV.mjs";
118
+ import "../chunk-KQK2YVLS.mjs";
118
119
  import "../chunk-IFV3VC5B.mjs";
120
+ import "../chunk-WZ6PXGGC.mjs";
119
121
  import "../chunk-RJH5TVHS.mjs";
122
+ import "../chunk-7ZCOFATU.mjs";
120
123
  import "../chunk-7NNLZDND.mjs";
121
124
  import "../chunk-O7YCQQO5.mjs";
122
125
  import "../chunk-QSWIVDXC.mjs";
123
126
  import "../chunk-KAC7JMQB.mjs";
124
127
  import "../chunk-K6S7R6LU.mjs";
125
- import "../chunk-KQK2YVLS.mjs";
126
- import "../chunk-WZ6PXGGC.mjs";
127
- import "../chunk-7ZCOFATU.mjs";
128
128
  import "../chunk-FWCSY2DS.mjs";
129
129
  export {
130
130
  AcademicYearsCreate,
@@ -1,23 +1,23 @@
1
+ import {
2
+ enumLabel_gender,
3
+ enum_gender
4
+ } from "../chunk-RGUQWALX.mjs";
1
5
  import {
2
6
  MySelect
3
- } from "../chunk-YSTK5GYG.mjs";
7
+ } from "../chunk-NBTLA7EX.mjs";
4
8
  import "../chunk-SUH3FFFV.mjs";
9
+ import "../chunk-KQK2YVLS.mjs";
5
10
  import {
6
11
  utils_converter
7
12
  } from "../chunk-IFV3VC5B.mjs";
13
+ import "../chunk-WZ6PXGGC.mjs";
8
14
  import "../chunk-RJH5TVHS.mjs";
15
+ import "../chunk-7ZCOFATU.mjs";
9
16
  import "../chunk-7NNLZDND.mjs";
10
17
  import "../chunk-O7YCQQO5.mjs";
11
18
  import "../chunk-QSWIVDXC.mjs";
12
19
  import "../chunk-KAC7JMQB.mjs";
13
- import {
14
- enumLabel_gender,
15
- enum_gender
16
- } from "../chunk-RGUQWALX.mjs";
17
20
  import "../chunk-K6S7R6LU.mjs";
18
- import "../chunk-KQK2YVLS.mjs";
19
- import "../chunk-WZ6PXGGC.mjs";
20
- import "../chunk-7ZCOFATU.mjs";
21
21
  import {
22
22
  __objRest,
23
23
  __spreadValues
@@ -28,6 +28,9 @@ import {
28
28
  utils_time_getHourMinuteFromString,
29
29
  utils_validator_validateCode
30
30
  } from "../chunk-RJH5TVHS.mjs";
31
+ import {
32
+ utils_notification_show
33
+ } from "../chunk-7ZCOFATU.mjs";
31
34
  import {
32
35
  utils_converter_enumToSelectOptions,
33
36
  utils_converter_getKeyByValue,
@@ -41,9 +44,6 @@ import {
41
44
  utils_date_formatToDateTimeString,
42
45
  utils_date_getHHmm
43
46
  } from "../chunk-QSWIVDXC.mjs";
44
- import {
45
- utils_notification_show
46
- } from "../chunk-7ZCOFATU.mjs";
47
47
  import "../chunk-FWCSY2DS.mjs";
48
48
  export {
49
49
  updateEnableList,
package/package.json CHANGED
@@ -58,7 +58,7 @@
58
58
  "types": "./dist/types/index.d.mts"
59
59
  }
60
60
  },
61
- "version": "0.1.841",
61
+ "version": "0.1.843",
62
62
  "private": false,
63
63
  "files": [
64
64
  "dist"